about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2004-08-11 11:57:04 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2004-08-11 11:57:04 +0000
commitad25b67e3d0bf8a3fa0c5ee2ded7af67b20fe1eb (patch)
tree4ea60add99593e5db3c54ac3d531c1457cf9b4f7 /Completion
parent4f5e97a0bf849da13eac76628c5cf64bc88396c7 (diff)
downloadzsh-ad25b67e3d0bf8a3fa0c5ee2ded7af67b20fe1eb.tar.gz
zsh-ad25b67e3d0bf8a3fa0c5ee2ded7af67b20fe1eb.tar.xz
zsh-ad25b67e3d0bf8a3fa0c5ee2ded7af67b20fe1eb.zip
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.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Base/Core/_tags1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Base/Core/_tags b/Completion/Base/Core/_tags
index 23cfec877..63087e20d 100644
--- a/Completion/Base/Core/_tags
+++ b/Completion/Base/Core/_tags
@@ -41,6 +41,7 @@ if (( $# )); then
     "$_sort_tags" "$@"
   else
     zstyle -a ":completion:${curcontext}:" tag-order order ||
+        (( ! ${@[(I)options]} )) ||
         order=('(|*-)argument-* (|*-)option[-+]* values' options)
 
     for tag in $order; do