Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
${path[@]} in sh mode [was: Segfault with zsh 5.2]
- X-seq: zsh-workers 37730
- From: Martijn Dekker <martijn@xxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: ${path[@]} in sh mode [was: Segfault with zsh 5.2]
- Date: Fri, 22 Jan 2016 20:12:24 +0000
- In-reply-to: <20151207143621.3cbbe7bd@pwslap01u.europe.root.pri>
- 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>
Peter Stephenson schreef op 07-12-15 om 14:36:
> Change now pushed.
Can the ${path[@]} array be disabled in sh mode? I just noticed that it
auto-syncs with the system $PATH. Lowercase "path" is a perfectly normal
variable name in other shells and is a common English word, so conflicts
that result in corruption of $PATH are not unlikely when running scripts
written using other shells.
Thanks,
- M.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author