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

Re: Named directories



On 2005-02-21 16:17:13 +0200, Mika Seppänen wrote:
> If my homedir is /home/foo and I have named directory:
> 
> work=/home/foo/bar
> 
> Then if I switch to that dir (cd work), %~ expands to ~/bar. Is there 
> any way to make it expand to ~work?

I have so such problem here:

ay:~> echo ~ ~tmp
/home/lefevre /home/lefevre/tmp
ay:~> cd tmp
ay:~tmp>

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



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