From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15836 invoked from network); 21 Jun 2002 23:59:23 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 21 Jun 2002 23:59:23 -0000 Received: (qmail 8135 invoked by alias); 21 Jun 2002 23:59:13 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5086 Received: (qmail 8047 invoked from network); 21 Jun 2002 23:59:11 -0000 Date: Fri, 21 Jun 2002 16:59:00 -0700 From: william@hq.newdream.net (Will Yardley) To: zsh-users@sunsite.dk Subject: Re: howto avoid ~irc in %~ ? Message-ID: <20020621235900.GC17433@hq.newdream.net> Mail-Followup-To: zsh-users@sunsite.dk References: <20020621184005.A23074@radiomaranon.org.pe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: New Dream Network User-Agent: Mutt/1.5.1i Bart Schaefer wrote: > 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. if you have root access, and if you don't use the user 'irc' at all, you could just remove the user from the system entirely. -- Will Yardley input: william < @ hq . newdream . net . >