From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17478 invoked from network); 17 Sep 2001 20:16:19 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 17 Sep 2001 20:16:19 -0000 Received: (qmail 21577 invoked by alias); 17 Sep 2001 20:15:58 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4234 Received: (qmail 21566 invoked from network); 17 Sep 2001 20:15:57 -0000 Date: Mon, 17 Sep 2001 21:59:15 +0100 From: Adam Spiers To: Zsh users list Subject: Re: retrieving invocation arguments Message-ID: <20010917215915.A6902@thelonious.new.ox.ac.uk> Reply-To: Adam Spiers Mail-Followup-To: Zsh users list References: <1010917151730.ZM5670@candle.brasslantern.com> <28827.1000741112@csr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <28827.1000741112@csr.com>; from pws@csr.com on Mon, Sep 17, 2001 at 04:38:32PM +0100 X-Home-Page: http://www.new.ox.ac.uk/~adam/ X-OS: RedHat Linux Peter Stephenson (pws@csr.com) wrote: > OK, I missed the point that Adam wants to restart the shell as it was > invoked, rather than as it now is. You can argue which is more useful. To give some context to this, some machines I use have RedHat brokenness in /etc/zshrc, which I avoid by invoking zsh with -d from my .switch_shell. If I then tweak something in my .zshrc for instance, or cvs update and reinstall a new zsh, I want to be able to just type `restart' to get a fresh new shell, hence the need for restart preserving the -d option.