Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Version of git vs. version of zsh completion for it
- X-seq: zsh-workers 48625
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Version of git vs. version of zsh completion for it
- Date: Tue, 20 Apr 2021 12:55:39 -0700
- Archived-at: <https://zsh.org/workers/48625>
- List-id: <zsh-workers.zsh.org>
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