On 3/12/06, James Vega <[EMAIL PROTECTED]> wrote:
> This has been brought up before and I didn't comment, but I don't think
> Axel should be adding a bunch of directories to the default path just
> because various systems may have software installed there.

You don't have to. You can tell what system you're running on and
which directories actually exist, and decide what to add to the path
based on that. Any OS X system running fish will have software
installed in /sw/bin, as fish requires fink on OS X. Most will also
probably have software from darwinports in /opt/local/bin.

> This seems
> more like something that should be done by the user in ~/.fish or
> possibly by the sysadmin in the system-wide fish file.

It can't be done in ~/.fish, because that gets executed too late. We
shouldn't rely on the sysadmin doing it, especially when the locations
are standardized and the errors produced when something goes wrong are
so odd.

> What I think
> makes the most sense is for the directories that are most commonly
> available and populated (/bin, /usr/bin, /usr/X11R6/bin and when root
> /sbin, /usr/sbin) should be in the default path.

Which means /sw/bin and /opt/local/bin should be on OS X, as those are
the directories where the two common Unix software installers for that
platform put their binaries.

--
-Nick Pilon

Reply via email to