mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-18 15:21:16 +02:00
fix to include + options in tag order (14416)
This commit is contained in:
parent
25b7d227bc
commit
0a159d0f73
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2001-05-21 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
|
* 14416: Completion/Base/Core/_tags: include + options for tag order
|
||||||
|
|
||||||
2001-05-21 Clint Adams <clint@zsh.org>
|
2001-05-21 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
* unposted: Completion/Unix/Type/_diff_options: quote $@
|
* unposted: Completion/Unix/Type/_diff_options: quote $@
|
||||||
|
|
|
@ -41,7 +41,7 @@ if (( $# )); then
|
||||||
"$_sort_tags" "$@"
|
"$_sort_tags" "$@"
|
||||||
else
|
else
|
||||||
zstyle -a ":completion:${curcontext}:" tag-order order ||
|
zstyle -a ":completion:${curcontext}:" tag-order order ||
|
||||||
order=('(|*-)argument-* (|*-)option-* values' options)
|
order=('(|*-)argument-* (|*-)option[-+]* values' options)
|
||||||
|
|
||||||
for tag in $order; do
|
for tag in $order; do
|
||||||
case $tag in
|
case $tag in
|
||||||
|
|
Loading…
Reference in a new issue