From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id BAA00187 for ; Sat, 10 Aug 1996 01:10:30 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id LAA28159; Fri, 9 Aug 1996 11:05:43 -0400 (EDT) Resent-Date: Fri, 9 Aug 1996 11:00:44 -0400 (EDT) Sender: davidk@lysator.liu.se To: zsh-users@math.gatech.edu Subject: Re: .zshenv file syntax: spanning lines with comments References: <199608090022.TAA14251@ruiner.hc.ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Face: D]XdQ0Lvl](98/?#ke.70P&g#NMUCf!)RIE}'k~=+N;#R2uW:$?JwjbU*jlrOh<0}LlKrwJ '+U#I_Mg|YVK\yHGVs`iy-^RoC(Sq'H3Bv*&'aL`!\Sk?[ Y^soDZ`fP_My5y282q2T Date: 09 Aug 1996 16:58:43 +0200 In-Reply-To: Benjamin Drago's message of Thu, 8 Aug 1996 19:22:44 -0500 Message-ID: X-Mailer: Gnus v5.2.37/Emacs 19.30 Resent-Message-ID: <"w5Phf3.0.0t6.SAr2o"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/352 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Benjamin Drago writes: > what I would like to do: > > export PATH=/home/$USER/bin/$OSTYPE: # arch dependent binaries > /home/$USER/bin: # arch independent scripts > /usr/local/bin: # local apps > /opt/gnu/bin: # gnu tools > ... The simplest way is probably to use $path instead. That is a list variable that is kept in sync with $PATH path=( /home/$USER/bin/$OSTYPE # arch dependent binaries /home/$USER/bin # arch independent scripts /usr/local/bin # local apps /opt/gnu/bin # gnu tools ... ) (It works for me, at least) -- David Kågedal Lysator Academic Computer Society davidk@lysator.liu.se http://www.lysator.liu.se/~davidk/ +46-13 17 65 89