hash -dshows you all the named directories your shell has savedhash -d <dir-name>=<path>lets you name any dir you like
This is my new namedir function;
namedir() { hash -d $1="$PWD" }
See also: [til77]
Source:
hash -d shows you all the named directories your shell has savedhash -d <dir-name>=<path> lets you name any dir you likeThis is my new namedir function;
namedir() { hash -d $1="$PWD" }
See also: [til77]
Source: