about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Base/Utility/_describe4
2 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 9363f405f..28b36aed4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-30  Oliver Kiddle  <opk@zsh.org>
+
+	* 18486: Completion/Base/Utility/_describe: back-out 18458
+	because it causes problems when completing only options
+
 2003-04-28  Peter Stephenson  <pws@csr.com>
 
 	* 17820 (tweaked): Andrej: Src/Modules/tcp.h: unconfirmed but
diff --git a/Completion/Base/Utility/_describe b/Completion/Base/Utility/_describe
index f2f59085f..eafdcc35b 100644
--- a/Completion/Base/Utility/_describe
+++ b/Completion/Base/Utility/_describe
@@ -20,10 +20,6 @@ elif [[ "$1" = -t* ]]; then
   shift
 fi
 
-[[ "$_type" = options && ! -prefix [-+]* ]] && \
-    zstyle -T ":completion:${curcontext}:options" prefix-needed &&
-        return 1
-
 # Do the tests. `showd' is set if the descriptions should be shown.
 
 zstyle -T ":completion:${curcontext}:$_type" verbose && _showd=yes