浏览代码

added 'gcl'for 'git config --list'; and gd for 'git diff'

Dr Nic Williams 13 年之前
父节点
当前提交
79847ad77d
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      plugins/git/git.plugin.zsh

+ 2 - 0
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'