This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: [patch] adding ~/bin to path


Hmm... if memory serves, in older version of Linux and, I believe, OpenBSD,
you had to add ~/bin to your profile.  I remember having to do this on the
Ultrix, Sun & Next machines I used at University of Maryland.  I did just
look at my Redhat 7.0 machine (which I thought I had added ~/bin to the path
somewhere), but I can't seem to find it in /etc/bashrc, /etc/profile or
~/.bashrc.

In addition, I wasn't necessarily suggesting that users should add that to
their paths.  I was suggesting that Chris add it for his users.  However, if
BASH usually has ~/bin included in the path by default, then, I agree, it
shouldn't be necessary to add it.

On the other hand, if a user is smart enough to know what to do with a
~/bin, I've found that they're smart enough to either add it to their paths
or request it to be added to their paths. ;-)

I also just remembered that, until Redhat 6.2, OpenBSD 2.7 and Cygwin, I
always used TCSH.  I only started using BASH as my shell of choice when I
started using Cygwin on a daily basis and found the comforts of a common
shell on all of the platforms I use everyday.

-ME

-----Original Message-----
From: cygwin-owner@sources.redhat.com
[mailto:cygwin-owner@sources.redhat.com]On Behalf Of Mo DeJong
Sent: Sunday, December 03, 2000 12:34 AM
To: cygwin@sources.redhat.com
Subject: RE: [patch] adding ~/bin to path


On Sun, 3 Dec 2000, Erdely, Michael wrote:

> So... I guess I don't understand the problem.  If you want system wide
shell
> changes, you add them to /etc/profile.  If you want user specific changes,
> you add them to (in this case) $HOME/.bashrc.

The problem is that the default is not set properly. Sure you
could go change it on your own, but by default it should
be set the way most users would expect.

> I'd make the global changes in /etc/profile and be done with it.  If you
add
> $HOME/bin or ~/bin to the path, you'll reach your goal.

Sure, you could do that. You already know what you are doing :)

Mo DeJong
Red Hat Inc

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]