diff options
author | Robby Russell <robby@planetargon.com> | 2013-06-25 09:21:15 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2013-06-25 09:21:15 -0700 |
commit | 7655a655f641c211db39680a73f15b1b70e43aa0 (patch) | |
tree | d1fc6b9deb326d946d67e1cdba2dc71fb9aa3da3 /plugins | |
parent | 11b7155469c7e2d48d68b87899c8e4824a790b6b (diff) | |
parent | d6945e2daad2b980da8cd6af9b1d1ea4f874ec95 (diff) | |
download | zsh-7655a655f641c211db39680a73f15b1b70e43aa0.tar.gz zsh-7655a655f641c211db39680a73f15b1b70e43aa0.tar.bz2 zsh-7655a655f641c211db39680a73f15b1b70e43aa0.zip |
Merge pull request #1881 from iammichiel/patch-1
Adding a rebase option to git alias.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/git/git.plugin.zsh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 6c016aa6b..6f2f59df3 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -95,6 +95,8 @@ function current_repository() { # these aliases take advantage of the previous function alias ggpull='git pull origin $(current_branch)' compdef ggpull=git +alias ggpur='git pull --rebase origin $(current_branch)' +compdef ggpur=git alias ggpush='git push origin $(current_branch)' compdef ggpush=git alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)' |