Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ~/.zshenv or ~/.zprofile
- X-seq: zsh-users 6534
- From: DervishD <raul@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: ~/.zshenv or ~/.zprofile
- Date: Mon, 8 Sep 2003 12:59:10 +0200
- In-reply-to: <20030908094729.GA13136@xxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades
- References: <20030803221858.GA2720@xxxxxxxxxxxxxxxxxx> <20030803223949.GA18476@xxxxxxxxxxxxxxxx> <1030804060015.ZM15706@xxxxxxxxxxxxxxxxxxxxxxx> <20030907175710.GA28613@xxxxxxxxxxxxxxxx> <20030907212433.GA233@DervishD> <20030908032728.GH48339@xxxxxxxxxxxxxxxx> <20030908094729.GA13136@xxxxxxxxxxx>
Hi Phil :)
* Phil Pennock <phil.pennock@xxxxxxxxxxx> dixit:
> On 2003-09-07 at 22:27 -0500, Dan Nelson wrote:
> > My global path settings are in zshenv, because that's the only one read
> > from scripts when your original login shell wasn't zsh and from cron
> > jobs.
> If I'm going to worry about things like gdb, then I'll wrap the $path
> setting inside a $SHLVL test -- if $SHLVL is set and is greater than or
> equal to 2, then, and only then, assume that $PATH has been set
> appropriately on this host.
Much better than my crap solution, that doesn't work since PATH
is set by the OS before exec'ing '/sbin/init' O:))
Your solution is far better ;)
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author