浏览代码

add git difftool alias (gdt)

AJ Henriques 10 年之前
父节点
当前提交
f0d5cfdc33
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      plugins/git/git.plugin.zsh

+ 1 - 0
plugins/git/git.plugin.zsh

@@ -18,6 +18,7 @@ compdef _git gp=git-push
 alias gd='git diff'
 gdv() { git diff -w "$@" | view - }
 compdef _git gdv=git-diff
+alias gdt='git difftool'
 alias gc='git commit -v'
 compdef _git gc=git-commit
 alias gc!='git commit -v --amend'