mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +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:
parent
3ba86f4db4
commit
f90200c869
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2016-11-29 Barton E. Schaefer <schaefer@brasslantern.com>
|
||||||
|
|
||||||
* 40034: Src/subst.c: clear badcshglob when ignoring errors
|
* 40034: Src/subst.c: clear badcshglob when ignoring errors
|
||||||
|
|
|
@ -17,7 +17,7 @@ _arguments -A "-*" \
|
||||||
'(--no-conf --noconf)*'{--no-conf,--noconf}'[do not read any config files]' \
|
'(--no-conf --noconf)*'{--no-conf,--noconf}'[do not read any config files]' \
|
||||||
'*:subcommand and args:->subcmds' && return 0
|
'*:subcommand and args:->subcmds' && return 0
|
||||||
|
|
||||||
compset -N '-[^0-9]#' && first=0
|
compset -N '-[^0-9]##' && first=0
|
||||||
compset -N '[,.]' && first=0
|
compset -N '[,.]' && first=0
|
||||||
[[ $first -eq 0 ]] || compset -n 2
|
[[ $first -eq 0 ]] || compset -n 2
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue