[lug] CDPATH?
Jed S. Baer
blug at jbaer.cotse.net
Wed Apr 13 17:19:38 MDT 2016
Jeff wrote:
> The variable CDPATH
> defines the search path for the directory containing dir: each
> directory name in CDPATH is searched for dir.
ORLY? LOLWHUT? YOWEE!
No, really, I didn't know that. But ...
jbaer at robinson:~$ echo $CDPATH
jbaer at robinson:~$ export CDPATH=/home/jbaer
jbaer at robinson:~$ cd warez
bash: cd: warez: No such file or directory
jbaer at robinson:~$ ls incoming/warez/
122667_egdm_debian_gray.tar.gz
[snip]
$ bash --version
GNU bash, version 4.3.25(1)-release (i586-pc-linux-gnu)
/me checks the manpage.
Drat! It's not listed. Yeah, one of these days, I'll upgrade. Until then,
I'll just have to cd the old fashioned way. Good thing I'm wearing hiking
boots.
More information about the LUG
mailing list