From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18910 invoked from network); 9 Jul 2005 16:07:29 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 9 Jul 2005 16:07:29 -0000 Received: (qmail 42069 invoked from network); 9 Jul 2005 16:07:22 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 9 Jul 2005 16:07:22 -0000 Received: (qmail 29696 invoked by alias); 9 Jul 2005 16:07:15 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9072 Received: (qmail 29686 invoked from network); 9 Jul 2005 16:07:14 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 9 Jul 2005 16:07:14 -0000 Received: (qmail 41015 invoked from network); 9 Jul 2005 16:07:14 -0000 Received: from viefep11-int.chello.at (213.46.255.27) by a.mx.sunsite.dk with SMTP; 9 Jul 2005 16:07:10 -0000 Received: from Dingo ([213.47.104.218]) by viefep11-int.chello.at (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20050709160708.SBGX2678.viefep11-int.chello.at@Dingo> for ; Sat, 9 Jul 2005 18:07:08 +0200 From: Christian Taylor To: "zsh-users" Subject: Re: Asking ZSH: How are you ? Date: Sat, 9 Jul 2005 18:06:55 +0200 User-Agent: KMail/1.8 References: <20050709.165213.74740823.Meino.Cramer@gmx.de> <20050709151736.GA382@DervishD> <20050709.173732.41643671.Meino.Cramer@gmx.de> In-Reply-To: <20050709.173732.41643671.Meino.Cramer@gmx.de> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200507091806.55741.cht@chello.at> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Meino Christian Cramer wrote: > > If you want to list all options use > > 'setopt', without arguments, or 'set -o'. If you want to show ALL > > options, no matter if they have their default value or not, use this > > little snippet (for example): > > > > =A0 =A0 for option in ${(ko)options}; print ${(r:21:}option $options[$o= ption] > > =A0 I pasted that to the commandline (zsh 4.2.5) and pressed . I = got > zsh: error in flags I believe Raul meant: for option in ${(ko)options}; print ${(r:21:)option} $options[$option] Thanks for the tip Raul, I like this better than the "no" prefixes too. Christian