1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-12-29 16:25:35 +01:00

40036: _bts: Complete removal syntaxes correctly.

The incumbent pattern matched the minus in 'bts tag 42 - <TAB>' (and other,
similar subcommands).
This commit is contained in:
Daniel Shahaf 2016-11-29 06:56:19 +00:00
parent 3ba86f4db4
commit f90200c869
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2016-11-30 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40036: Completion/Debian/Command/_bts: Complete removal
syntaxes correctly.
2016-11-29 Barton E. Schaefer <schaefer@brasslantern.com>
* 40034: Src/subst.c: clear badcshglob when ignoring errors

View file

@ -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