Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh handling of non-standard if-evaluations



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