delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/03/00:48:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Erdely, Michael" <mike AT erdelynet DOT com>
To: <cygwin AT sources DOT redhat DOT com>
Subject: RE: [patch] adding ~/bin to path
Date: Sun, 3 Dec 2000 00:47:47 -0500
Message-ID: <HLEFLHBNJIAFNBEFLEANOEFMCIAA.mike@erdelynet.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-reply-to: <Pine.SOL.3.91.1001202213109.28885B-100000@cse.cygnus.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
Importance: Normal

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 AT sources DOT redhat DOT com
[mailto:cygwin-owner AT sources DOT redhat DOT com]On Behalf Of Mo DeJong
Sent: Sunday, December 03, 2000 12:34 AM
To: cygwin AT sources DOT redhat DOT 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 AT sourceware DOT cygnus DOT com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019