If you use bash or zsh, you might want to check out CDPATH. From the bash man 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".
Beware: CDPATH can wreck some eye-gouging pain when compiling ruby gem extensions.
And by eye-gouging pain, I mean that it takes you an extended period of time to determine why you can't bundle env-js when everyone else seems to have no problem. A simple export CDPATH="" resolves the issue with no problem.