4 ms·
Zsh has a better builtin solution. hash -d x=/path/to/x Then you can cd to there with just ~x And use it in commands like ls ~x/whatever/
by unfamiliar 3y ago
Zsh has a better builtin solution.
hash -d x=/path/to/x
Then you can cd to there with just
~x
And use it in commands like
ls ~x/whatever/