Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh handling of non-standard if-evaluations
- X-seq: zsh-users 11165
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: zsh handling of non-standard if-evaluations
- Date: Wed, 31 Jan 2007 07:51:24 -0800
- In-reply-to: <20070129004105.GA4623@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <184104.7951.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <070128120533.ZM730@xxxxxxxxxxxxxxxxxxxxxx> <20070128201040.GA4908@xxxxxxxxxxxxxxx> <070128122451.ZM805@xxxxxxxxxxxxxxxxxxxxxx> <20070129004105.GA4623@xxxxxxxxxxxxxxx>
On Jan 29, 12:41am, 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.
By that logic, [ "$VAR" == "VAL" ] is not sh either, so the original
problem should not exist. If there is one bash-ism in /etc/profile,
then one might expect that there are others.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author