zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: ${path[@]} in sh mode [was: Segfault with zsh 5.2]
Date: Fri, 22 Jan 2016 17:53:01 -0800	[thread overview]
Message-ID: <160122175301.ZM11810@torch.brasslantern.com> (raw)
In-Reply-To: <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.


  reply	other threads:[~2016-01-23  1:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-07 13:01 Segfault with zsh 5.2 Christian Neukirchen
2015-12-07 13:55 ` Peter Stephenson
2015-12-07 14:31   ` Christian Neukirchen
2015-12-07 14:36     ` Peter Stephenson
2015-12-07 14:54       ` Christian Neukirchen
2016-01-22 20:12       ` ${path[@]} in sh mode [was: Segfault with zsh 5.2] Martijn Dekker
2016-01-22 20:45         ` Martijn Dekker
2016-01-23  0:07           ` Mikael Magnusson
2016-01-23  1:08             ` Martijn Dekker
2016-01-23  1:53               ` Bart Schaefer [this message]
2016-01-24 15:15                 ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=160122175301.ZM11810@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).