From f90200c869dd5efa54dd410dc14cbd02f2f4ec05 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Tue, 29 Nov 2016 06:56:19 +0000 Subject: 40036: _bts: Complete removal syntaxes correctly. The incumbent pattern matched the minus in 'bts tag 42 - ' (and other, similar subcommands). --- Completion/Debian/Command/_bts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') 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 -- cgit 1.4.1