FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 07-26-2011, 04:49 PM
"Richard W.M. Jones"
 
Default Adding ~/.local/bin to default PATH (was: User-level instance of /bin in PATH)

On Tue, Jul 26, 2011 at 08:45:11AM -0430, Robert Marcano wrote:
> On 07/26/2011 08:36 AM, Genes MailLists wrote:
> > On 07/26/2011 08:03 AM, Misha Shnurapet wrote:
> >> 26.07.2011, 18:34, "Andrew Haley"<aph@redhat.com>:
> >>> On 26/07/11 10:22, Misha Shnurapet wrote:
> >>>
> >>>> Since F15 ~/bin has been added to PATH, and commands that are
> >>>> supposed to run user scripts will work without changing into that
> >>>> directory. Meanwhile, ~/.local/bin isn't used. I'd like to propose
> >>>> that it is also added because technically it is ~/bin's brother.
> >>>
> >>> I've never heard of ~/.local/bin . Are there many people who use
> >>> this? ~/bin is common.
> >>
> >> ~/.local/bin has been there by default.
> >>
> >> Unlike ~/bin, which is in PATH though not even created.
> >>
> >
> > Where in the path do the user 'bin' elements appear in the path?
>
> In /etc/skel/.bash_profile they are added to the end and I think that is ok
>
> 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=02b20d810111e8b53bb98ad 49fedd1d583ce62e1

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.

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 06:30 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org