Browse Source

add git difftool alias (gdt)

AJ Henriques 10 years ago
parent
commit
f0d5cfdc33
1 changed files with 1 additions and 0 deletions
  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'
 alias gd='git diff'
 gdv() { git diff -w "$@" | view - }
 gdv() { git diff -w "$@" | view - }
 compdef _git gdv=git-diff
 compdef _git gdv=git-diff
+alias gdt='git difftool'
 alias gc='git commit -v'
 alias gc='git commit -v'
 compdef _git gc=git-commit
 compdef _git gc=git-commit
 alias gc!='git commit -v --amend'
 alias gc!='git commit -v --amend'