From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3428 invoked from network); 24 Nov 1997 17:27:06 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 24 Nov 1997 17:27:06 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id MAA27513; Mon, 24 Nov 1997 12:08:00 -0500 (EST) Resent-Date: Mon, 24 Nov 1997 12:07:37 -0500 (EST) To: "Bart Schaefer" Cc: Timothy J Luoma , zsh-users@math.gatech.edu Subject: Re: /etc/profile being read after my personal .zshenv References: <199711240322.WAA18587@luomat.peak.org> <971123213429.ZM26136@candle.brasslantern.com> From: Greg Badros Date: 24 Nov 1997 09:07:57 -0800 In-Reply-To: "Bart Schaefer"'s message of "Sun, 23 Nov 1997 21:34:29 -0800" Message-ID: X-Mailer: Gnus v5.4.65/XEmacs 19.15 Resent-Message-ID: <"T8-t3.0.Fj6.OHRUq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1151 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu "Bart Schaefer" writes: > Nope. The order is: > > 1 /etc/zshenv > 2 (NO_RCS is checked, and if set, no more are read.) > 3 $ZDOTDIR/.zshenv > (The next two are skipped when not a login shell.) > 4 /etc/zprofile > 5 $ZDOTDIR/.zprofile > 6 (NO_RCS is checked again, and if set, no more are read.) > 7 /etc/zshrc > 8 $ZDOTDIR/.zshrc > (The last two are skipped when not a login shell.) > 9 /etc/zlogin > 10 $ZDOTDIR/.zlogin I have a flow chart diagram of this in part of a talk I gave on unix shells. See: http://www.cs.washington.edu/homes/gjb/ToolsTalks/unix-shell/img009.GIF I believe it is accurate for Zsh 3.0.5 (and is the same as Bart described except I mention checking for an interactive shell between 6 and 7, and I omit test 6. Greg J. Badros gjb@cs.washington.edu Seattle, WA USA http://www.cs.washington.edu/homes/gjb