8735dfd87e98d79aa3a809117630cec907c1a86d

Author
Gaetan Semet <gaetan@xeberon.net>
Committer
Gaetan Semet <gaetan@xeberon.net>
Date

Message

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 <gaetan@xeberon.net>

Diff

 1diff --git a/plugins/repo/repo.plugin.zsh b/plugins/repo/repo.plugin.zsh
 2index 9cc336959345975e0eece56c05557c5d80d762cf..d690a9d22ad9470d7fc5ee07290b6f7ea08c7f4d 100644
 3--- a/plugins/repo/repo.plugin.zsh
 4+++ b/plugins/repo/repo.plugin.zsh
 5@@ -1,2 +1,12 @@
 6 # Aliases
 7 alias r='repo'
 8+compdef _repo r=repo
 9+
10+alias rra='repo rebase --auto-stash'
11+compdef _repo rra='repo rebase --auto-stash'
12+
13+alias rs='repo sync'
14+compdef _repo rs='repo sync'
15+
16+alias rsrra='repo sync ; repo rebase --auto-stash'
17+compdef _repo rsrra='repo sync ; repo rebase --auto-stash'