diff options
author | Dr Nic Williams <drnicwilliams@gmail.com> | 2012-05-02 10:32:30 -0700 |
---|---|---|
committer | Dr Nic Williams <drnicwilliams@gmail.com> | 2012-05-02 10:32:30 -0700 |
commit | 79847ad77d1613fa823b2c6e097895b3b5193074 (patch) | |
tree | 8ecd687df768871088108b45113c15e06d7c94e0 | |
parent | 1120f973054836eeb53750f57d69fbec41a340dc (diff) | |
download | zsh-79847ad77d1613fa823b2c6e097895b3b5193074.tar.gz zsh-79847ad77d1613fa823b2c6e097895b3b5193074.tar.bz2 zsh-79847ad77d1613fa823b2c6e097895b3b5193074.zip |
added 'gcl'for 'git config --list'; and gd for 'git diff'
-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 e1d682508..340485104 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -9,6 +9,7 @@ alias gup='git fetch && git 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' |