Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] _bts: Complete removal syntaxes correctly.
- X-seq: zsh-workers 40036
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] _bts: Complete removal syntaxes correctly.
- Date: Tue, 29 Nov 2016 06:56:19 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=Ygp CRqkUOVAA/e+od5gsgqjLFWI=; b=gG8Zpj30jibcm0S/Pgb3KhONpF4ySPClqYb xjIimWUEP5Gvu8FAOCS9WEXozPu6UmSLT4P5pTsGS81P0FXxshpmHA5ehaB/mtji 0IvVt74T2waMyxJuz4UwpHHtEZ/TjWdiIetRtBBYUugxLvvyjhRFJQXCgNfdHINr ifd7lwgQ=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=Yg pCRqkUOVAA/e+od5gsgqjLFWI=; b=pB1I9T3BUrVDht8QNf4eHQZ5qiKYCwvAwW vQ8Thg42d+3tEmMGSxnxY+V+kxzlNS1z4zG4aowj98mlxL8mvoy5R7rSlfcKtohm KTZPaz2rnhPRSqLM8c4KmSV71lBCAeq3fHNvsxKGlfNEoyoZwlbDEnIOvfptAbLZ oGJiHYY5w=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author