summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJakub Nawalaniec <pielgrzym@prymityw.pl>2011-04-03 21:28:19 +0200
committerJakub Nawalaniec <pielgrzym@prymityw.pl>2011-04-03 21:28:19 +0200
commit4cd4167c8d988656eed4896d6d1343e311ce078c (patch)
tree415156b9dd46c1ce0830f3abb2f0b0cff3079cb1 /plugins
parent2e9492969b0ea90932ad3f4298330b75ef8cf2ce (diff)
downloadzsh-4cd4167c8d988656eed4896d6d1343e311ce078c.tar.gz
zsh-4cd4167c8d988656eed4896d6d1343e311ce078c.tar.bz2
zsh-4cd4167c8d988656eed4896d6d1343e311ce078c.zip
Further git completion improovements
In detail: gup - now completes with remotes like git fetch would gdv - got git diff completions gc/gca - now zsh will suggest files in staging area gba - suggestions as for git branch
Diffstat (limited to 'plugins')
-rw-r--r--plugins/git/git.plugin.zsh10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
index 8470c28a4..9fe7a6467 100644
--- a/plugins/git/git.plugin.zsh
+++ b/plugins/git/git.plugin.zsh
@@ -6,24 +6,24 @@ compdef _git gst=git-status
alias gl='git pull'
compdef _git gl=git-pull
alias gup='git fetch && git rebase'
-compdef gup=git
+compdef _git gup=git-fetch
alias gp='git push'
compdef _git gp=git-push
alias gd='git diff | mate'
# WTF is mate??
compdef _git gd=git-diff
alias gdv='git diff -w "$@" | vim -R -'
-compdef gdv=git
+compdef _git gdv=git-diff
alias gc='git commit -v'
-compdef gc=git
+compdef _git gc=git-commit
alias gca='git commit -v -a'
-compdef gca=git
+compdef _git gca=git-commit
alias gco='git checkout'
compdef _git gco=git-checkout
alias gb='git branch'
compdef _git gb=git-branch
alias gba='git branch -a'
-compdef gba=git
+compdef _git gba=git-branch
alias gcount='git shortlog -sn'
compdef gcount=git
alias gcp='git cherry-pick'