summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-29 06:56:19 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-30 16:10:20 +0000
commitf90200c869dd5efa54dd410dc14cbd02f2f4ec05 (patch)
treebf66d13fcddb6d9cba179fb1d19d89ef991e164c /Completion
parent3ba86f4db44e6b5f854909fbc639ef3111ec176b (diff)
downloadzsh-f90200c869dd5efa54dd410dc14cbd02f2f4ec05.tar.gz
zsh-f90200c869dd5efa54dd410dc14cbd02f2f4ec05.tar.xz
zsh-f90200c869dd5efa54dd410dc14cbd02f2f4ec05.zip
40036: _bts: Complete removal syntaxes correctly.
The incumbent pattern matched the minus in 'bts tag 42 - <TAB>' (and other,
similar subcommands).
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Debian/Command/_bts2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Debian/Command/_bts b/Completion/Debian/Command/_bts
index d7aac9e3c..f415989b9 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