Browse Source

Fix gfg function completion definition

Related: #5179
Marc Cornellà 8 years ago
parent
commit
c62442f999
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/git/git.plugin.zsh

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

@@ -88,7 +88,7 @@ alias gdw='git diff --word-diff'
 alias gf='git fetch'
 alias gfa='git fetch --all --prune'
 function gfg() { git ls-files | grep $@ }
-compdef gfg=grep
+compdef _grep gfg
 alias gfo='git fetch origin'
 
 alias gg='git gui citool'