diff options
author | Robby Russell <robby@planetargon.com> | 2012-12-04 06:37:18 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2012-12-04 06:37:18 -0800 |
commit | bd9a86051fe4e4e15243b8607a81d37a5158a7ba (patch) | |
tree | 851a788b22eb473763081a58f29afd86e5b138c0 /plugins | |
parent | 421a738b494d9c574c8782f01f67f25888f050ec (diff) | |
parent | 73df0c8e93399c8281076d660aa48b1fc5203ce1 (diff) | |
download | zsh-bd9a86051fe4e4e15243b8607a81d37a5158a7ba.tar.gz zsh-bd9a86051fe4e4e15243b8607a81d37a5158a7ba.tar.bz2 zsh-bd9a86051fe4e4e15243b8607a81d37a5158a7ba.zip |
Merge pull request #1247 from drnic/git-cmds
Added 'gcl'for 'git config --list'; and gd for 'git diff'
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 6b7bd374c..d56dbb07b 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -9,6 +9,7 @@ alias gup='git pull --rebase' compdef _git gup=git-fetch alias gp='git push' compdef _git gp=git-push +alias gd='git diff' gdv() { git diff -w "$@" | view - } compdef _git gdv=git-diff alias gc='git commit -v' @@ -24,6 +25,7 @@ alias gba='git branch -a' compdef _git gba=git-branch alias gcount='git shortlog -sn' compdef gcount=git +alias gcl='git config --list' alias gcp='git cherry-pick' compdef _git gcp=git-cherry-pick alias glg='git log --stat --max-count=5' |