From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10631 invoked from network); 10 Jul 2005 16:27:00 -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 16:27:00 -0000 Received: (qmail 10844 invoked from network); 10 Jul 2005 16:26:52 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 Jul 2005 16:26:52 -0000 Received: (qmail 2299 invoked by alias); 10 Jul 2005 16:26:46 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9089 Received: (qmail 2290 invoked from network); 10 Jul 2005 16:26:45 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 10 Jul 2005 16:26:45 -0000 Received: (qmail 9916 invoked from network); 10 Jul 2005 16:26:45 -0000 Received: from vms044pub.verizon.net (206.46.252.44) by a.mx.sunsite.dk with SMTP; 10 Jul 2005 16:26:41 -0000 Received: from candle.brasslantern.com ([71.116.88.149]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IJF00KC670E4J7P@vms044.mailsrvcs.net> for zsh-users@sunsite.dk; Sun, 10 Jul 2005 11:26:39 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j6AGQbUI024225 for ; Sun, 10 Jul 2005 09:26:38 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j6AGQbi1024224 for zsh-users@sunsite.dk; Sun, 10 Jul 2005 09:26:37 -0700 Date: Sun, 10 Jul 2005 16:26:37 +0000 From: Bart Schaefer Subject: Re: Asking ZSH: How are you ? In-reply-to: <1m18uif1pp5e5$.nnwjpdzchmqu$.dlg@40tude.net> To: zsh-users@sunsite.dk Message-id: <1050710162637.ZM24223@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20050709.165213.74740823.Meino.Cramer@gmx.de> <20050709151736.GA382@DervishD> <20050710071800.GA583@DervishD> <1m18uif1pp5e5$.nnwjpdzchmqu$.dlg@40tude.net> Comments: In reply to Thorsten Kampe "Re: Asking ZSH: How are you ?" (Jul 10, 12:38pm) 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=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On Jul 10, 12:38pm, Thorsten Kampe wrote: } Subject: Re: Asking ZSH: How are you ? } } * DervishD (2005-07-10 08:18 +0100) } > Have you looked at the code for 'allopt'? I think that *that* is } > too much ;) } } "allopt" was the way to go before "set -o" was introduced recently. } Before that you had to do "setopt kshoptionprint; setopt; unsetopt" "allopt" could be improved by switching to "set -o" but that isn't really why it was written. It was written to eliminate the double negatives in the output. Run diff =(set -o) =(allopt) and you'll see e.g. 1c1 < noaliases off --- > aliases on 3c3 < noalwayslastprompt off --- > alwayslastprompt on (etc.)