I'm not sure it matters. Depends on what you have in ~/bin. If any executable content there shadows local and system bins, then you must have had a reason for doing that. IMHO, however, I'd sooner use an alias than rely on path precedence. I just have shell scripts in there anyway with unique names so it just should be anywhere in my path.

Currently, mine is at the end, but other stuff tends to get tagged on (like $JAVA/bin) This is more of a condition of the order of .profile loading. By the time it gets to my local .bash_profile, $PATH is setup. So PATH=$PATH:~/bin works out that way.

Ed



Robert Citek wrote:


On Tuesday, Mar 29, 2005, at 15:00 US/Central, L. V. Lammert wrote:

On Tue, 29 Mar 2005, Robert Citek wrote:

Where should ~/bin be in one's PATH?


My preference is typically /usr/local/bin:/usr/bin:/bin

Theory is to grab any local, then userland, then system.


So you'd put ~/bin (aka $HOME/bin) in the middle?

Regards,
- Robert
http://www.cwelug.org/downloads
Help others get OpenSource software.  Distribute FLOSS
for Windows, Linux, *BSD, and MacOS X with BitTorrent

_______________________________________________
CWE-LUG mailing list
http://www.cwelug.org/    [email protected]
http://lists.firepipe.net/listinfo/cwe-lug


--
Ed Howland
WDT Solutions, LLC.
[EMAIL PROTECTED]
(314) 962-0766

_______________________________________________
CWE-LUG mailing list
http://www.cwelug.org/ [email protected]
http://lists.firepipe.net/listinfo/cwe-lug

Reply via email to