www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/19/07:13:59

From: mchase AT ix DOT netcom DOT com (Michael A. Chase)
Subject: Re: Bash Environment (Was: Bash history?)
19 Sep 1997 07:13:59 -0700 :
Message-ID: <199709191351.IAA03407.cygnus.gnu-win32@dfw-ix1.ix.netcom.com>
Mime-Version: 1.0
To: "Wei Ku" <weiku AT utkux DOT utcc DOT utk DOT edu>, <gnu-win32 AT cygnus DOT com>

I knew that.  Unfortunately, I also 'knew' that the first shell would
mystically know it was the login shell.

I added -login to my startup commands and /etc/profile and
~/.bash_profile now get called automatically.

Sadly, the environment variables (except for $PATH) are still not getting
converted until I do it in /etc/profile.

Thanks,
Mac :})
-----Original Message-----
From: Wei Ku <weiku AT utkux DOT utcc DOT utk DOT edu>
To: Michael A. Chase <mchase AT ix DOT netcom DOT com>; gnu-win32 AT cygnus DOT com
<gnu-win32 AT cygnus DOT com>
Date: Tuesday, September 16, 1997 21:51
Subject: Re: Bash Environment (Was: Bash history?)



> Only the login shell will read the .bash_profile. To run bash as a
login
>shell try:
>bash -login


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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