From: "Benjamin R. Haskell" <zsh@benizi.com>
To: TJ Luoma <luomat@gmail.com>
Cc: zsh-users@zsh.org
Subject: Re: do you use separate .zshenv and .zshrc files?
Date: Sat, 28 Apr 2012 17:01:58 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.01.1204281656570.27115@hp.internal> (raw)
In-Reply-To: <alpine.LNX.2.01.1204281633070.27115@hp.internal>
On Sat, 28 Apr 2012, Benjamin R. Haskell wrote:
> Here's the order of the standard four files, and the condition under which
> they run:
>
> .zshenv: (always)
> .zprofile: [[ -o login ]]
> .zshrc: [[ -o interactive ]]
> .zlogin: [[ -o login ]]
>
> To disable all of them, there is the 'NO_RCS' option.
For completeness: Those are the standard four personal startup files.
I tend to ignore systemwide files, because I put 'set -o no_global_rcs'
in my .zshenv. (I've too often found that the systemwide files just
contain distribution-specific crap that conflicts with my own settings.)
For a more in-depth discussion see the 'STARTUP/SHUTDOWN FILES' section
in `man 1 zsh`.
--
Best,
Ben
next prev parent reply other threads:[~2012-04-28 21:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-28 19:07 TJ Luoma
2012-04-28 20:54 ` Benjamin R. Haskell
2012-04-28 21:01 ` Benjamin R. Haskell [this message]
2012-04-28 21:57 ` TJ Luoma
2012-04-28 22:25 ` Benjamin R. Haskell
2012-04-28 23:03 ` Bart Schaefer
2012-04-28 23:19 ` TJ Luoma
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=alpine.LNX.2.01.1204281656570.27115@hp.internal \
--to=zsh@benizi.com \
--cc=luomat@gmail.com \
--cc=zsh-users@zsh.org \
/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).