Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: BUG: _git-check-ignore completer fails to complete filenames
Antony Lee wrote on Sat, Feb 06, 2016 at 18:25:54 -0800:
> All's in the title.
> Packaged zsh 5.2 from Arch Linux.
Thanks, Antony.
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 65916f0..565ac44 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -406,7 +406,7 @@ _git-check-ignore () {
'-z[make output format machine-parseable and treat input-paths as NUL-separated with --stdin]' \
'(-n --non-matching)'{-n,--non-matching}'[show given paths which do not match any pattern]' \
'--no-index[do not look in the index when undertaking the checks]' \
- '*:: :->file' && ret=0
+ '*:: :_files'
}
(( $+functions[_git-check-mailmap] )) ||
Messages sorted by:
Reverse Date,
Date,
Thread,
Author