summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2013-12-02 23:44:55 -0800
committerRobby Russell <robby@planetargon.com>2013-12-02 23:44:55 -0800
commit19ce09c008744dedfc87f3c13f14b1027e720d2d (patch)
tree7e48691ae8d455895c17c48705dc6a3fafd5e7c1
parentf48d6759e6cc6c9c2514ea379dd4aa9ea9a2a5fe (diff)
parent8735dfd87e98d79aa3a809117630cec907c1a86d (diff)
downloadzsh-19ce09c008744dedfc87f3c13f14b1027e720d2d.tar.gz
zsh-19ce09c008744dedfc87f3c13f14b1027e720d2d.tar.bz2
zsh-19ce09c008744dedfc87f3c13f14b1027e720d2d.zip
Merge pull request #2086 from Stibbons/gsemet_push_repo
New aliases for repo plugin
-rw-r--r--plugins/repo/repo.plugin.zsh10
1 files changed, 10 insertions, 0 deletions
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'