Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ~/.zshenv or ~/.zprofile
- X-seq: zsh-users 6432
- From: Nikolai Weibull <lone-star@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: ~/.zshenv or ~/.zprofile
- Date: Mon, 4 Aug 2003 12:45:12 +0200
- In-reply-to: <20030804025724.GI38843@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20030803221858.GA2720@xxxxxxxxxxxxxxxxxx> <20030804025724.GI38843@xxxxxxxxxxxxxxxx>
* Dan Nelson <dnelson@xxxxxxxxxxxxxxx> [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);}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author