Y
Hacker News
new
|
ask
|
show
|
jobs
by
wgetch
2214 days 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.