Thread (1 message) 1 message, 1 author, 2016-06-15

Re: ZSH segmentation fault while completing "git mv dir/"

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:56:36

Matthieu Moy [off-list ref] writes:
Felipe Contreras [off-list ref] writes:
quoted
And this is a workaround:
--- a/contrib/completion/git-completion.zsh
+++ b/contrib/completion/git-completion.zsh
@@ -66,7 +66,7 @@ __gitcomp_file ()

        local IFS=$'\n'
        compset -P '*[=:]'
-       compadd -Q -p "${2-}" -f -- ${=1} && _ret=0
+       compadd -Q -p "${2-}" -- ${=1} && _ret=0
 }
OK, not something we want to apply to git.git, but this means a
workaround for users is to ...
Would it help users more to have that as part of the instruction at
the beginning of contrib/completion/git-completion.zsh where it
already says "here is how you use it via fpath", than leaving it
here in the list archive?
(Hope this helps in case someone has the same problem and finds this
thread ...)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help