www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <5p5kll$hon05 AT rrcs-agw-02 DOT hrndva DOT rr DOT com> |
Subject: | RE: environment setup for bash and tcsh |
Date: | Wed, 16 May 2007 23:39:37 +0100 |
Message-ID: | <088001c7980b$15aefc00$2e08a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <5p5kll$hon05@rrcs-agw-02.hrndva.rr.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 16 May 2007 22:55, Karl Kobata wrote: > I thought I understood how the environment is setup but I guess I don't > really. > Can anyone tell me the order and file names that are executed to get the > environment setup for a bash shell and tcsh shell? > Bash: > /etc/profile -> /etc/bashrc -> ~/.bash_profile -> ~/.bash_login -> > ~/.profile What Brian said. Also, ... > Tcsh: > /etc/csh.cshrc -> /etc/csh.login -> ~/.tcshrc -> ~/.history -> ~/.login > > What is executed prior to these files for setting up the environment? > I added an echo statement for PATH as a first line in /etc/csh.cshrc. this > variable was already defined with paths. Where does this get initialized? During process startup, it is converted from the windows PATH setting during the cygwin1 dll initialisation. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |