GNU bug report logs -
#43735
28.0.50; eshell: No such directory found via CDPATH environment variable
Previous Next
Full log
Message #44 received at submit <at> debbugs.gnu.org (full text, mbox):
>>>>> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Jean Louis <bugs <at> gnu.support> writes:
>> If you change within shell or eshell maybe no, I change it in
>> .bashrc before launching and can reproduce reliably
> My test case is
> CDPATH="/var" emacs -Q M-x eshell $ cd tmp /var/tmp $
> So CDPATH works as advertised in eshell, as far as I can tell.
I can confirm CDPATH works in shell and eshell.
cd $HOME <RET>
mkdir hop <RET>
mkdir $HOME/hop/hip <RET>
mkdir $HOME/hop/hip/hap <RET>
export CDPATH=".:/home/<USERNAME>/hop/hip/" <RET>
cd <RET>
emacs -q <RET>
M-x shell <RET>
In shell:
cd <RET>
cd hap <RET>
pwd <RET> --> /home/<USERNAME>/hop/hip/hap
I used emacs-28.0.50. CDPATH is always tricky to set correctly. I never
use it myself, for that reason.
Best wishes,
Colin Baxter
This bug report was last modified 4 years and 98 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.