From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27820 invoked from network); 10 Jul 2005 11:39:27 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 10 Jul 2005 11:39:27 -0000 Received: (qmail 72900 invoked from network); 10 Jul 2005 11:39:20 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 Jul 2005 11:39:20 -0000 Received: (qmail 28427 invoked by alias); 10 Jul 2005 11:39:14 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9087 Received: (qmail 28417 invoked from network); 10 Jul 2005 11:39:14 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 10 Jul 2005 11:39:14 -0000 Received: (qmail 72008 invoked from network); 10 Jul 2005 11:39:14 -0000 Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by a.mx.sunsite.dk with SMTP; 10 Jul 2005 11:39:08 -0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Dra92-0006JO-7U for zsh-users@sunsite.dk; Sun, 10 Jul 2005 13:38:48 +0200 Received: from 212.17.39.109 ([212.17.39.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jul 2005 13:38:48 +0200 Received: from thorsten by 212.17.39.109 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jul 2005 13:38:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk From: Thorsten Kampe Subject: Re: Asking ZSH: How are you ? Date: Sun, 10 Jul 2005 12:38:30 +0100 Message-ID: <1m18uif1pp5e5$.nnwjpdzchmqu$.dlg@40tude.net> References: <20050709.165213.74740823.Meino.Cramer@gmx.de> <20050709151736.GA382@DervishD> <20050710071800.GA583@DervishD> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 212.17.39.109 User-Agent: 40tude_Dialog/2.0.15.1 Sender: news X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-1.3 required=6.0 tests=BAYES_00,RCVD_BY_IP, RCVD_NUMERIC_HELO autolearn=no version=3.0.2 X-Spam-Hits: -1.3 * DervishD (2005-07-10 08:18 +0100) > * Thorsten Kampe dixit: >>> for option in ${(ko)options}; print ${(r:21:}option $options[$option] >> Isn't that a bit "too much"? >> >> "autoload -U allopt; allopt" or "set -o" shows you all options and >> there state. > > Have you looked at the code for 'allopt'? I think that *that* is > too much ;) Maybe for the one who wrote it but not for the one who uses allopt. "allopt" was the way to go before "set -o" was introduced recently. Before that you had to do "setopt kshoptionprint; setopt; unsetopt" which of course in a way was inaccurate because "kshoptionprint" was modified. T.