4 ms·
The CDPATH variable tends to be somewhat ambiguous, to me at least. Appreciate for your comment though!
by Vecrios 14y ago
The CDPATH variable tends to be somewhat ambiguous, to me at least. Appreciate for your comment though!
- pwg 14y agoThe trick is you have to set it one level up from where you want the expansions to appear. So to allow "cd Downloads" to find /home/user/Downloads, you need to set CDPATH to /home/user Now all directorys in /home/user/* become match points for "cd dirname".