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

Named directories



Hi all,

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?

Thanks,
Mika Seppänen


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