OK, I&#39;ve been staring at this for a while, I have absolutely no idea what I&#39;m doing wrong<br>I was reading about $CDPATH, decided to try to implement it:<br><br>Here&#39;s my distro:<br>Linux fozzie 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 23:42:43 UTC 2011 x86_64 GNU/Linux<br>
<br>Here&#39;s my env file:<br>PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/mbean/Dropbox/bin/scripts:/usr/bin/python3.1<br>CDPATH=:~:~/Dropbox:~/Documents:~/Dropbox/bin/dotfiles:~/Dropbox/bin/scripts<br>
<br>Here&#39;s the current value of the variable:<br>mbean@fozzie:~/Dropbox/Documents$ echo $CDPATH<br>:/home/mbean:/home/mbean/Dropbox:/home/mbean/Documents:/home/mbean/Dropbox/bin/dotfiles:/home/mbean/Dropbox/bin/scripts<br>
<br>Here&#39;s the results of testing:<br>mbean@fozzie:~/Dropbox/Documents$ cd mbean<br>bash: cd: mbean: No such file or directory<br>mbean@fozzie:~/Music$ cd Documents<br>/home/mbean/Documents<br>mbean@fozzie:~/Music$ cd Dropbox<br>
/home/mbean/Dropbox<br>mbean@fozzie:~/Music$ cd dotfiles<br>bash: cd: dotfiles: No such file or directory<br>mbean@fozzie:~/Music$ cd scripts<br>bash: cd: scripts: No such file or directory<br><br>(and here&#39;s the proof that the directories exist and that the permissions are correct: hopefully I didn&#39;t mung up the path)<br>
<br>mbean@fozzie:~/Music$ ls /home/mbean/Dropbox/bin/dotfiles<br>total 20<br>drwxr-xr-x 3 mbean mbean 4096 2011-02-06 08:36 .<br>drwxr-xr-x 4 mbean mbean 4096 2010-11-30 10:45 ..<br>drwxr-xr-x 2 mbean mbean 4096 2011-02-06 08:43 bash<br>
-rw-r--r-- 1 mbean mbean  155 2011-02-06 07:53 .bashrc<br>-rw-r--r-- 1 mbean mbean  711 2011-02-06 07:51 .bashrc~<br><br>mbean@fozzie:~/Music$ ls /home/mbean/Dropbox/bin/scripts<br>total 44<br>drwxr-xr-x 2 mbean mbean 4096 2011-02-06 07:45 .<br>
drwxr-xr-x 4 mbean mbean 4096 2010-11-30 10:45 ..<br>-rwxr--r-- 1 mbean mbean 1156 2010-11-30 21:16 archivedir.sh<br>-rwxr--r-- 1 mbean mbean 1640 2010-12-01 10:14 backup.sh<br>-rwxr--r-- 1 mbean mbean 1434 2010-12-02 22:17 bestcompress1.sh<br>
-rwxr--r-- 1 mbean mbean 1425 2010-12-01 14:04 bestcompress.sh<br>-rw-r--r-- 1 mbean mbean  329 2011-02-06 06:44 colortest<br>-rw-r--r-- 1 mbean mbean  329 2011-02-06 07:23 #colortest#<br>-rw-r--r-- 1 mbean mbean  329 2011-02-06 06:42 colortest~<br>
-rwxr--r-- 1 mbean mbean  824 2011-02-06 06:36 initializeANSI.sh<br>-rwxr--r-- 1 mbean mbean 1329 2010-11-30 20:10 inpath.sh<br><br>All advice is welcome, I&#39;m just confused how the command can have identical syntax and work for directories under my HOME, but not under my Dropbox.<br>
<br>Thanks all!<br><br>Bean<br>