diff options
author | Dr Nic Williams <drnicwilliams@gmail.com> | 2012-05-02 10:32:30 -0700 |
---|---|---|
committer | Dr Nic Williams <drnicwilliams@gmail.com> | 2012-07-23 07:51:29 -0700 |
commit | 73df0c8e93399c8281076d660aa48b1fc5203ce1 (patch) | |
tree | 95e56b78646ff59b25ef588a2bcc71effe7fc61c /plugins | |
parent | d05b2010ffd4cd33ff9402c402051b1caf985d97 (diff) | |
download | zsh-73df0c8e93399c8281076d660aa48b1fc5203ce1.tar.gz zsh-73df0c8e93399c8281076d660aa48b1fc5203ce1.tar.bz2 zsh-73df0c8e93399c8281076d660aa48b1fc5203ce1.zip |
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 d3d3f702a..c970b4cfd 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' |