zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: sort config keys
@ 1999-10-15  9:45 Sven Wischnowsky
  0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 1999-10-15  9:45 UTC (permalink / raw)
  To: zsh-workers


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@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-10-15  9:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-15  9:45 PATCH: sort config keys Sven Wischnowsky

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).