From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27851 invoked from network); 4 Aug 2003 10:45:26 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 4 Aug 2003 10:45:26 -0000 Received: (qmail 3118 invoked by alias); 4 Aug 2003 10:45:14 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6432 Received: (qmail 3108 invoked from network); 4 Aug 2003 10:45:14 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 4 Aug 2003 10:45:14 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [213.113.203.243] by sunsite.dk (MessageWall 1.0.8) with SMTP; 4 Aug 2003 10:45:13 -0000 Received: by puritan.pcp.ath.cx (Postfix, from userid 1000) id 07481509C3E9; Mon, 4 Aug 2003 12:45:12 +0200 (CEST) Date: Mon, 4 Aug 2003 12:45:12 +0200 From: Nikolai Weibull To: zsh-users@sunsite.dk Subject: Re: ~/.zshenv or ~/.zprofile Message-ID: <20030804104512.GA3314@puritan.pcp.ath.cx> References: <20030803221858.GA2720@puritan.pcp.ath.cx> <20030804025724.GI38843@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030804025724.GI38843@dan.emsphone.com> User-Agent: Mutt/1.5.4i * Dan Nelson [Aug, 04 2003 12:40]: > > zshenv is the only script sourced by cron jobs, so I put PATH and shell > functions I might use in scripts in there. BTW - do this so you don't > override an existing PATH: > > path=(/usr/local/bin /usr/local/sbin /sbin /usr/sbin /bin /usr/bin $path) > typeset -U PATH # remove duplicate entries > yes, but that's not the issue here. i wan't a restricted path, that's why i modify $PATH. nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,php,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}