From: "Jakub Ječmínek" <jecminek.k@gmail.com>
To: 57371@debbugs.gnu.org
Subject: bug#57371: 28.1; eshell cannot handle ~ notation in PATH variable
Date: Tue, 16 Jan 2024 22:16:01 +0100 [thread overview]
Message-ID: <CAFBiodKMqR-QTPWtG1VO=gzv3uawbaENXvyJvEcnNbh-2mE5hQ@mail.gmail.com> (raw)
In-Reply-To: <gsntr1167ktv.fsf@coltonlewis-kvm.c.googlers.com>
[-- Attachment #1: Type: text/plain, Size: 423 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 489 bytes --]
next prev parent reply other threads:[~2024-01-16 21:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-23 20:42 bug#57371: 28.1; eshell cannot handle ~ notation in PATH variable Colton Lewis via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-16 21:16 ` Jakub Ječmínek [this message]
2024-01-17 22:02 ` Jakub Ječmínek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFBiodKMqR-QTPWtG1VO=gzv3uawbaENXvyJvEcnNbh-2mE5hQ@mail.gmail.com' \
--to=jecminek.k@gmail.com \
--cc=57371@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).