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

Re: howto avoid ~irc in %~ ?



Hi Bart and Wayne,

I was really surprised to read this:
> > Zsh doesn't do this all by itself.  You must at some point have used ~irc
> > before zsh would add an entry for irc to its hash table of named dirs.
because I never use ~irc.

But Waynes comment explains it: 
> Completing ~ names will also add it for you.  For instance, if I type
> "~w<TAB>" and get "~wayne", all other user home dirs have now been
> cached.

So I guess there is no way to avoid ~irc to appear instead of /var.
Hm, unless I remove it from the cache.  But how would I do that???

Thanks,
 Andy.

-- 
           http://peru.spiegl.de  Our project
      http://radiomaranon.org.pe  Radio Marañón, Jaén, Perú
                              o      _     _         _
  ------- __o       __o      /\_   _ \\o  (_)\__/o  (_)          -o)
  ----- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/       /\\
  ---- (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_    _\_v
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Weinberg's Principle:
     An expert is a person who avoids the small errors while
     sweeping on to the grand fallacy.



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