Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Version of git vs. version of zsh completion for it



Just as an example:

% git stash drop <TAB>
_arguments:comparguments:325: invalid argument: _git-notes
_git-stash:88: command not found: (-q --quiet)-q[suppress all output]
_arguments:comparguments:325: invalid argument: _git-notes
_git-stash:88: command not found: (-q --quiet)-q[suppress all output]
_arguments:comparguments:325: invalid argument: _git-notes
_git-stash:88: command not found: (-q --quiet)-q[suppress all output]
_arguments:comparguments:325: invalid argument: _git-notes
_git-stash:88: command not found: (-q --quiet)-q[suppress all output]

It would be OK if this just failed to complete, but spewing all those
errors because Ubuntu hasn't released packages for the latest git
seems unfriendly.

This is of course a generic problem with keeping supplied completions
congruent with installed software, but perhaps we can put a little
more effort into redirecting stderr and stopping the completion on
command failures?




Messages sorted by: Reverse Date, Date, Thread, Author