From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22869 invoked from network); 15 Oct 1999 09:45:22 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Oct 1999 09:45:22 -0000 Received: (qmail 2700 invoked by alias); 15 Oct 1999 09:45:18 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8273 Received: (qmail 2690 invoked from network); 15 Oct 1999 09:45:15 -0000 Date: Fri, 15 Oct 1999 11:45:14 +0200 (MET DST) Message-Id: <199910150945.LAA17605@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk Subject: 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@informatik.hu-berlin.de