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

PATCH: sort config keys



This makes `compconf [-L]' (no args) list the keys in alphbetically
sorted order. I was fed up with having to vgrep through the 25 keys I
have set.

Bye
 Sven

diff -u oldcompletion/Core/compinit Completion/Core/compinit
--- oldcompletion/Core/compinit	Fri Oct 15 11:43:13 1999
+++ Completion/Core/compinit	Fri Oct 15 11:43:16 1999
@@ -356,7 +356,7 @@
       done
     fi
   else
-    for i in ${(k)compconfig}; do
+    for i in ${(ok)compconfig}; do
       if [[ $list = long ]]; then
 	print "compconf $i='$compconfig[$i]'"
       else

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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