zsh-users
 help / color / mirror / code / Atom feed
From: Greg Badros <gjb@cs.washington.edu>
To: "Bart Schaefer" <schaefer@brasslantern.com>
Cc: Timothy J Luoma <luomat+zsh+users@luomat.peak.org>,
	zsh-users@math.gatech.edu
Subject: Re: /etc/profile being read after my personal .zshenv
Date: 24 Nov 1997 09:07:57 -0800	[thread overview]
Message-ID: <qrrg1omp6du.fsf@elwha.cs.washington.edu> (raw)
In-Reply-To: "Bart Schaefer"'s message of "Sun, 23 Nov 1997 21:34:29 -0800"

"Bart Schaefer" <schaefer@brasslantern.com> 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


      reply	other threads:[~1997-11-24 17:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-24  3:22 Timothy J Luoma
1997-11-24  5:34 ` Bart Schaefer
1997-11-24 17:07   ` Greg Badros [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=qrrg1omp6du.fsf@elwha.cs.washington.edu \
    --to=gjb@cs.washington.edu \
    --cc=luomat+zsh+users@luomat.peak.org \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).