Liraz Siri - Sun, 2015/10/04 - 17:27
I used bash for a decade or so before I discovered this little highly useful gem a few years back. Nowadays I can't remember what I used to do without it.
From the bash manual page:
CDPATH
The search path for the cd command. This is a colon-separated
list of directories in which the shell looks for destination
directories specified by the cd command.
A sample value is ".:~:/usr".
I've added the following to my .bashrc:
CDPATH=.:/turnkey:/turnkey/projects:/turnkey/appliances
Now this works: