Adding ~/.local/bin to default PATH

Przemek Klosowski przemek.klosowski at nist.gov
Tue Jul 26 19:05:18 UTC 2011


On 07/26/2011 12:49 PM, Richard W.M. Jones wrote:

>> PATH=$PATH:$HOME/.local/bin:$HOME/bin
>
> This was added between bash-4.2.10 -2 and -3:
>
> http://pkgs.fedoraproject.org/gitweb/?p=bash.git;a=commitdiff;h=02b20d810111e8b53bb98ad49fedd1d583ce62e1
>
> because of https://bugzilla.redhat.com/show_bug.cgi?id=699812
>
> There is some rationale in that bug, but I think it's extremely bogus.

Specifically, Lennart said that it was required by XDG which he 
coauthored :)

There seem to be two arguments for this style: XDG seems to propose 
.local/{bin,lib,...} hierarchy; also some people claimed that it's 
easier to accidentally delete ~/bin as opposed to ~/.local/bin.
I am not convinced by either argument: ~/bin and ~/lib look just fine to 
me, and accidental deletion is IMHO a strawman. Is there something I am 
missing?


More information about the devel mailing list