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

Re: howto avoid ~irc in %~ ?



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.



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