zsh-workers
 help / color / mirror / code / Atom feed
* BUG: _git-check-ignore completer fails to complete filenames
@ 2016-02-07  2:25 Antony Lee
  2016-02-09  3:23 ` Daniel Shahaf
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Lee @ 2016-02-07  2:25 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 62 bytes --]

All's in the title.
Packaged zsh 5.2 from Arch Linux.

Antony

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: BUG: _git-check-ignore completer fails to complete filenames
  2016-02-07  2:25 BUG: _git-check-ignore completer fails to complete filenames Antony Lee
@ 2016-02-09  3:23 ` Daniel Shahaf
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Shahaf @ 2016-02-09  3:23 UTC (permalink / raw)
  To: Antony Lee; +Cc: zsh-workers

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] )) ||


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-09  3:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-07  2:25 BUG: _git-check-ignore completer fails to complete filenames Antony Lee
2016-02-09  3:23 ` Daniel Shahaf

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).