From 8735dfd87e98d79aa3a809117630cec907c1a86d Mon Sep 17 00:00:00 2001 From: Gaetan Semet Date: Tue, 10 Sep 2013 11:19:00 +0200 Subject: [PATCH] New aliases for repo plugin This helps a lot in day to day android development: - rs: repo sync (git fetch on all projects) - rra: auto rebase for all projet without loosing uncommited changes - rsrra: do both steps at once Signed-off-by: Gaetan Semet --- plugins/repo/repo.plugin.zsh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/repo/repo.plugin.zsh b/plugins/repo/repo.plugin.zsh index 9cc336959..d690a9d22 100644 --- a/plugins/repo/repo.plugin.zsh +++ b/plugins/repo/repo.plugin.zsh @@ -1,2 +1,12 @@ # Aliases alias r='repo' +compdef _repo r=repo + +alias rra='repo rebase --auto-stash' +compdef _repo rra='repo rebase --auto-stash' + +alias rs='repo sync' +compdef _repo rs='repo sync' + +alias rsrra='repo sync ; repo rebase --auto-stash' +compdef _repo rsrra='repo sync ; repo rebase --auto-stash'