Sujet : Re: Default PATH setting - reduce to something more sensible?
De : naddy (at) *nospam* mips.inka.de (Christian Weisgerber)
Groupes : comp.unix.shellDate : 26. Jan 2025, 20:01:53
Autres entêtes
Message-ID : <slrnvpd1l1.2e9p.naddy@lorvorc.mips.inka.de>
References : 1 2 3 4 5 6 7
User-Agent : slrn/1.0.3 (FreeBSD)
On 2025-01-26, Janis Papanagnou <janis_papanagnou+
ng@hotmail.com> wrote:
you don't want to miss. - So Bash users, if they don't want to get
bitten in a subtle way, are probably advised to be pointed out to
that behavior, or, as suggested by others already, not to use tilde
at all with PATH in Bash.
That's a bizarre recommendation. Approximately all uses of tilde
in PATH are variants of PATH=~/bin:$PATH, which are expanded on
assignment in bash as in other sh-type shells.
-- Christian "naddy" Weisgerber naddy@mips.inka.de