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

PATCH: compconf tweak



compconf broke if any of your compconfig values had funny characters
in.

Index: Completion/Core/compinit
===================================================================
RCS file: /usr/local/cvsroot/zsh/Completion/Core/compinit,v
retrieving revision 1.2
diff -u -r1.2 compinit
--- Completion/Core/compinit	1999/09/17 01:53:38	1.2
+++ Completion/Core/compinit	1999/09/17 21:16:52
@@ -324,7 +324,7 @@
       if [[ $list = long ]]; then
 	print "compconf $i='$compconfig[$i]'"
       else
-        print ${(r:25:)i} $compconfig[$i]
+        print ${(r:25:)i} "$compconfig[$i]"
       fi
     done
   fi



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