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

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

bug#57371: 28.1; eshell cannot handle ~ notation in PATH variable


From: Jakub Ječmínek
Subject: bug#57371: 28.1; eshell cannot handle ~ notation in PATH variable
Date: Tue, 16 Jan 2024 22:16:01 +0100

Hi Colton, what you're describing is not the bug in eshell but rather a bash feature; no other shell will perform expansion on literal tilde in PATH (you can disable it in Bash using POSIXLY_CORRECT environment variable).  If you drop the quotes then it's going to work as expected because the shell will expand the tilde to HOME before storing it in PATH:

PATH=~/test-bin:$PATH emacs -Q

Best,
Jakub Ječmínek

reply via email to

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