Re:How to navigate directories faster with Bash (2015)
by chriserin on Thursday April 22, 2021 @08:48AM
(#26902132)
This is accomplished with the zsh hash table I believe. `hash -d myproject=~/projects/myproject` will set up the same thing for ~/projects/myproject
$ cd ~myproject
$ pwd
~/projects/myproject
And ~mylogin is another alias for ones home directory.
And more generally, ~otherdev is an alias for otherdev's home directory.