Summary
The $CDPATH variable is a colon-separated list of directories used as a search path for the cd built-in command.
1
It is not used if the argument to cd begins with a slash.
1
Additionally, it can be used to enable bash's name completion with the tab key and to access frequently located directories.
2
According to
See more results on Neeva
Summaries from the best pages on the web
Summary
According to the bash Reference, $CDPATH is “a colon-separated list of directories used as a search path for the cd built-in command.” Think of it as $PATH for cd . It’s a little subtle, but can be very handy.
If the argument to cd begins with a slash, $CDPATH will not be used.
16.5. Setting Your $CDPATH - bash Cookbook [Book]
oreilly.com
Summary
This Mac OS X Hint provides a way to use CDPATH to access frequently located directories in bash. It explains how to use the CDPATH variable, which is a colon-separated list of directories in which the shell looks for destination directories specified by the cd command. Additionally, it provides a way to enable bash's name completion with the tab key, as well as a way to set the CDPATH variable to access frequently located directories.
Use CDPATH to access frequent directories in bash - Mac OS X Hints
macworld.com
CDPATH is an environment variable in TCC that contains an explicit list of directories to search when attempting to find a new directory.
TCC CDPATH Environment Variable
jpsoft.com