Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: sort config keys
- X-seq: zsh-workers 8273
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: sort config keys
- Date: Fri, 15 Oct 1999 11:45:14 +0200 (MET DST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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