Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

ignore-line fix



ignore-line didn't work.

Index: Completion/Core/_description
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Core/_description,v
retrieving revision 1.4
diff -u -r1.4 _description
--- Completion/Core/_description	2000/05/08 08:44:54	1.4
+++ Completion/Core/_description	2000/05/15 23:29:26
@@ -33,9 +33,9 @@
   if zstyle -a ":completion:${curcontext}:$1" ignored-patterns _comp_ignore; then
     opts=( $opts -F _comp_ignore )
     zstyle -t ":completion:${curcontext}:$1" ignore-line &&
-        _comp_ignore=( "$_comp_ignore[@]" "$words[@]}" )
+        _comp_ignore=( "$_comp_ignore[@]" "$words[@]" )
   elif zstyle -t ":completion:${curcontext}:$1" ignore-line; then
-    _comp_ignore=( "$words[@]}]" )
+    _comp_ignore=( "$words[@]" )
   else
     _comp_ignore=()
   fi
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author