From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6143 invoked from network); 25 Mar 1999 12:38:57 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 25 Mar 1999 12:38:57 -0000 Received: (qmail 24016 invoked by alias); 25 Mar 1999 12:37:27 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2238 Received: (qmail 24008 invoked from network); 25 Mar 1999 12:37:25 -0000 To: zsh-users@sunsite.auc.dk Sender: monnier@tequila.cs.yale.edu From: Stefan Monnier Newsgroups: lists.zsh.users Subject: Re: zsh startup files References: <199903251055.LAA02436@sally.ifm.uni-kiel.de> <9903251122.AA14741@ibmth.df.unipi.it> Date: 25 Mar 1999 07:36:57 -0500 Message-ID: <5l1zidiw46.fsf@tequila.cs.yale.edu> X-Newsreader: Gnus v5.5/Emacs 20.3 Path: tequila.cs.yale.edu NNTP-Posting-Host: tequila.cs.yale.edu X-Trace: 25 Mar 1999 07:36:57 -0500, tequila.cs.yale.edu >>>>> "Peter" == Peter Stephenson writes: > This makes things rather complicated; there's no fundamental difficulty, > but I'd prefer to keep it clean. The idea is not that you're at war with > the sysadmin, who's supposed to make it easy for users to set their own > preferences. But if this is popular enough... No. /etc/zshrc is too often misused (and the "supposed" is of paramount importance in the above sentence). Actually, now that I think about it, why do we even need all those /etc/z* files ? It seems that all except for either /etc/zprofile or /etc/zshenv should be kept empty in all but really unusual circumstances (in which case you can still use zshenv for the same purpose). I guess I could live with just NO_GLOBAL_RCS that I would set in my .zshenv although it won't do me any good as a sysadmin. Now, how can I simulate NO_GLOBAL_RCS (I don't want to wait for my sysadmins to install a newer zsh version) ? How can I determine from .zshenv whether or not .zshrc (and .zprofile) would be sourced if NO_RCS wasn't set ? Stefan