bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43735: 28.0.50; eshell: No such directory found via CDPATH environme


From: Colin Baxter
Subject: bug#43735: 28.0.50; eshell: No such directory found via CDPATH environment variable
Date: Fri, 02 Oct 2020 08:39:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

>>>>> Lars Ingebrigtsen <larsi@gnus.org> writes:

    > Jean Louis <bugs@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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]