On Tue, 26.07.11 15:05, Przemek Klosowski (przemek.klosow...@nist.gov) wrote:

> 
> 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 :)

Nah, the basedir spec does not mandate the bin subdir.

WHat I said in the bug report is that I think it makes a lot of sense to
have the XDG basedir stuff in the $PATH.

> 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?

I don't think it makes a lot of sense to have a visible directory for
binaries. People will see that, and be annoyed.

Note that there are a number of 3rd party projects making use of
~/.config/bin afaik, including jhbuild which installs its executable to
that dir.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to