Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ${path[@]} in sh mode [was: Segfault with zsh 5.2]
- X-seq: zsh-workers 37737
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: ${path[@]} in sh mode [was: Segfault with zsh 5.2]
- Date: Fri, 22 Jan 2016 17:53:01 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=36BOAToczpqAYdzqcxhUeiPd9rcu8k/QMXJgNJVKSoo=; b=i6ZRMb1gs+GYOh1f9T3JOGeipUfFD1Tr7Xt6Rd3TS3q1BqLge2iB7e+UpPcDJbJdRt JTQ83yS3DfqssndlPqNYIAAz/FM528sX3CGmVnFoHYgDs4Lyt4A2u4v4IvME0ICLrstp vyQYJf1/3pmrmJUVMiy1DGC0hKy16DQ+fCsqctgvQ3BaABHuM+z22tgmiDuqxzM4Cq5/ gzzlN4rW26EaMEt89L5nKr9yFaLguy7eq0aaGaWgqC+0CCB45EYjgnL/7E9kGI3uh9qf dcOQkjuhNjdDMW3WXUm2KvFdeGhaABVOyAkrKMQ5mRz9rp+oF5Ue/nJICTBPFCexbQ8B Og7g==
- In-reply-to: <56A2D27A.1050807@inlv.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <87h9jujttm.fsf@gmail.com> <20151207135532.1a285c15@pwslap01u.europe.root.pri> <878u56jpob.fsf@gmail.com> <20151207143621.3cbbe7bd@pwslap01u.europe.root.pri> <56A28D28.3090701@inlv.org> <56A294F9.5020509@inlv.org> <CAHYJk3Qi-N3J2Np6w1Jqm_J+4=ip+kpGwhpQhi74L3osmfnYgw@mail.gmail.com> <56A2D27A.1050807@inlv.org>
On Jan 23, 1:08am, Martijn Dekker wrote:
}
} > If you're in a function context, you can say 'typeset -h path' to hide
} > the specialness of $path and declare a new local of the same name. Eg,
} > one that isn't connected to PATH.
}
} It would be nice if that worked globally too, and even nicer if it were
} automatically done by 'emulate sh' (or ksh for that matter) and undone
} by 'emulate zsh'. But that might be non-trivial and the developers may
} have other priorities.
It's non-trivial. The emulate command only deals with setopts, not with
keywords, parameters, etc.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author