From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15810 invoked from network); 21 Jun 2002 23:54:35 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 21 Jun 2002 23:54:35 -0000 Received: (qmail 7032 invoked by alias); 21 Jun 2002 23:54:25 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5085 Received: (qmail 7021 invoked from network); 21 Jun 2002 23:54:25 -0000 Date: Fri, 21 Jun 2002 16:54:16 -0700 (PDT) From: Bart Schaefer Sender: schaefer@ns1.sodaware.com To: Andy Spiegl cc: zsh-users@sunsite.dk Subject: Re: howto avoid ~irc in %~ ? In-Reply-To: <20020621184005.A23074@radiomaranon.org.pe> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 21 Jun 2002, Andy Spiegl wrote: > > chpwd() { unhash -d irc } > > Hm, how would I test if it is in the hash before removing it? If you're really never going to use ~irc, then just do irc=/ and that will change the value in the hash. Since "/" is shorter than "~irc", zsh will never display ~irc again.