浏览代码

Replace "git-diff" with "git diff" in the git plugin

Gavin Huang 13 年之前
父节点
当前提交
7553d0171f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/git/git.plugin.zsh

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

@@ -9,7 +9,7 @@ alias gup='git fetch && git rebase'
 compdef _git gup=git-fetch
 compdef _git gup=git-fetch
 alias gp='git push'
 alias gp='git push'
 compdef _git gp=git-push
 compdef _git gp=git-push
-gdv() { git-diff -w "$@" | view - }
+gdv() { git diff -w "$@" | view - }
 compdef _git gdv=git-diff
 compdef _git gdv=git-diff
 alias gc='git commit -v'
 alias gc='git commit -v'
 compdef _git gc=git-commit
 compdef _git gc=git-commit