5 ms·
With ZSH, you can use a named directory hash to create such 'aliases' to directories: hash -d hello=~/Documents ~hello/world The shortened names also
by wgetch 6y ago
With ZSH, you can use a named directory hash to create such 'aliases' to directories:
hash -d hello=~/Documents
~hello/world
The shortened names also show up in your PROMPT if it is using %~ to display cwd.