Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh handling of non-standard if-evaluations
- X-seq: zsh-users 11155
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: zsh handling of non-standard if-evaluations
- Date: Mon, 29 Jan 2007 00:41:06 +0000
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <070128122451.ZM805@xxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <184104.7951.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <070128120533.ZM730@xxxxxxxxxxxxxxxxxxxxxx> <20070128201040.GA4908@xxxxxxxxxxxxxxx> <070128122451.ZM805@xxxxxxxxxxxxxxxxxxxxxx>
- Sender: Stephane Chazelas <stephane_chazelas@xxxxxxxx>
On Sun, Jan 28, 2007 at 12:24:50PM -0800, Bart Schaefer wrote:
> On Jan 28, 8:10pm, Stephane Chazelas wrote:
> >
> > load-sh-profile() {
> > emulate -L sh
> > . /etc/profile
> > }
>
> No: any "typeset" commands would create parameters that are local to the
> load-sh-profile function; that may have undesired consequences.
typeset is not sh, so there wouldn't be any in /etc/profile.
--
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author