From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4763 invoked from network); 8 Sep 2001 01:37:10 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 8 Sep 2001 01:37:10 -0000 Received: (qmail 12313 invoked by alias); 8 Sep 2001 01:37:01 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15754 Received: (qmail 12301 invoked from network); 8 Sep 2001 01:37:01 -0000 Date: Sat, 8 Sep 2001 03:18:44 +0100 From: Adam Spiers To: zsh-workers@sunsite.dk Subject: Re: Switching shell safely and efficiently Message-ID: <20010908031844.A8159@thelonious.new.ox.ac.uk> Reply-To: Adam Spiers Mail-Followup-To: zsh-workers@sunsite.dk References: <20010907193550.A5678@thelonious.new.ox.ac.uk> <1010907190526.ZM17902@candle.brasslantern.com> <20010907234517.A6901@thelonious.new.ox.ac.uk> <010907152846.ZM18111@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <010907152846.ZM18111@candle.brasslantern.com>; from schaefer@brasslantern.com on Fri, Sep 07, 2001 at 03:28:46PM -0700 X-Home-Page: http://www.new.ox.ac.uk/~adam/ X-OS: RedHat Linux Bart Schaefer (schaefer@brasslantern.com) wrote: > On Sep 7, 11:45pm, Adam Spiers wrote: > > more stylish than my attempt, it's not quite as efficient through > > having to fork the shell before running it properly. To this end, a > > slight improvement might be skipping start-up files > > I knew you were going to say that. > > I chose to omit the -f in case the contents of the startup files are what > causes the shell to fail. You did want safety ... Bah, you're too clever ;-)