Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: howto avoid ~irc in %~ ?



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 . >



Messages sorted by: Reverse Date, Date, Thread, Author