From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26825 invoked by alias); 28 Apr 2012 21:02:26 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17031 Received: (qmail 25462 invoked from network); 28 Apr 2012 21:02:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at benizi.com designates 64.130.10.15 as permitted sender) Date: Sat, 28 Apr 2012 17:01:58 -0400 (EDT) From: "Benjamin R. Haskell" To: TJ Luoma cc: zsh-users@zsh.org Subject: Re: do you use separate .zshenv and .zshrc files? In-Reply-To: Message-ID: References: <4B2741961D3F4053AD4A3F6A195E2371@gmail.com> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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