mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
20254: restrict scope of the default tag-order to fix a problem with cdrecord
completion. Ideally the tag-order should go but _arguments currently needs it.
This commit is contained in:
parent
4f5e97a0bf
commit
ad25b67e3d
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-08-11 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
|
* 20254: Completion/Base/Core/_tags: restrict the scope of the
|
||||||
|
default tag-order to fix a problem with cdrecord completion
|
||||||
|
|
||||||
2004-08-07 Oliver Kiddle <opk@zsh.org>
|
2004-08-07 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
* 20237: Completion/Unix/Command/_screen: rewrite completion of
|
* 20237: Completion/Unix/Command/_screen: rewrite completion of
|
||||||
|
|
|
@ -41,6 +41,7 @@ if (( $# )); then
|
||||||
"$_sort_tags" "$@"
|
"$_sort_tags" "$@"
|
||||||
else
|
else
|
||||||
zstyle -a ":completion:${curcontext}:" tag-order order ||
|
zstyle -a ":completion:${curcontext}:" tag-order order ||
|
||||||
|
(( ! ${@[(I)options]} )) ||
|
||||||
order=('(|*-)argument-* (|*-)option[-+]* values' options)
|
order=('(|*-)argument-* (|*-)option[-+]* values' options)
|
||||||
|
|
||||||
for tag in $order; do
|
for tag in $order; do
|
||||||
|
|
Loading…
Reference in a new issue