* [PATCH] _bts: Complete removal syntaxes correctly.
@ 2016-11-29 6:56 Daniel Shahaf
0 siblings, 0 replies; only message in thread
From: Daniel Shahaf @ 2016-11-29 6:56 UTC (permalink / raw)
To: zsh-workers
The incumbent pattern matched the minus in 'bts tag 42 - <TAB>' (and other,
similar subcommands).
---
Completion/Debian/Command/_bts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Completion/Debian/Command/_bts b/Completion/Debian/Command/_bts
index d7aac9e..f415989 100644
--- a/Completion/Debian/Command/_bts
+++ b/Completion/Debian/Command/_bts
@@ -17,7 +17,7 @@ _arguments -A "-*" \
'(--no-conf --noconf)*'{--no-conf,--noconf}'[do not read any config files]' \
'*:subcommand and args:->subcmds' && return 0
-compset -N '-[^0-9]#' && first=0
+compset -N '-[^0-9]##' && first=0
compset -N '[,.]' && first=0
[[ $first -eq 0 ]] || compset -n 2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-29 6:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-29 6:56 [PATCH] _bts: Complete removal syntaxes correctly 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).