Closed wshanks closed 9 years ago
I tried the using the completion function the same way on a newer version of zsh (5.0.7) and saw the same behavior. Am I not loading the function properly?
I'm also having this issue.
Problem was introduced by commit e2b78c6
Reverting these changes seems to fix this.
Maybe @ypid can comment on why that commit had these side effects?
Eyeballing it it looks like it was for code clarity. I've submitted a pull request that fixes the bug anyway.
I did not know that my change had this unintended side effect. Sorry for the inconvenience … The patch from @dfaligertwood fixes it, please merge.
No problem. I was just checking to make sure we weren't missing something.
Merged. Thanks to all of you guys for the bug report and the fix! :smile:
I am experiencing a strange issue trying to use the completion function. When I hit tab, zsh uses both the git-annex commands and their descriptions as possible completions. So
git-annex sy<Tab>
givesas the possible completions. I installed the function using the suggested method: added its directory to
fpath
and then didcompinit git-annex
. Any idea what could be going on? My only guess is that my version of zsh is kind of old (4.3.10). Does this function use some syntax that was recently added to zsh?