From: "David Kågedal" <davidk@lysator.liu.se>
To: zsh-users@math.gatech.edu
Subject: Re: .zshenv file syntax: spanning lines with comments
Date: 09 Aug 1996 16:58:43 +0200 [thread overview]
Message-ID: <jprapg4na3.fsf@dell.lysator.liu.se> (raw)
In-Reply-To: Benjamin Drago's message of Thu, 8 Aug 1996 19:22:44 -0500
Benjamin Drago <drago@hc.ti.com> 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
prev parent reply other threads:[~1996-08-09 15:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-09 0:22 Benjamin Drago
1996-08-09 3:06 ` Bart Schaefer
1996-08-09 9:35 ` Dave Wapstra
1996-08-09 14:58 ` David Kågedal [this message]
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=jprapg4na3.fsf@dell.lysator.liu.se \
--to=davidk@lysator.liu.se \
--cc=zsh-users@math.gatech.edu \
/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).