Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: localoptions, emulate -L, and top-level shell
- X-seq: zsh-workers 40072
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: localoptions, emulate -L, and top-level shell
- Date: Sat, 3 Dec 2016 08:23:43 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= mesmtp; bh=NpS+XrQJzI1B4mqhl7vKvVIFg2E=; b=ZChaMOXaZBvJlmZ3EaAJg chTHTVQCFM4HPCTBaitt8qem4qpQ1HK1HAWoPjD/iWxbDs04XV9dDHZR92b/xqSt Cs6r11G3iyrtvGuS5AOv1lTPvYuXnn36hBwHbSVMNdlDp4tY+rIxJqkon42u8Unu jXOKAku1EOkllB7VD9wHus=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=NpS+XrQJzI1B4mqhl7vKvVIFg2E=; b=VS3vlxhJxz9dqT/14zYF 2TEzAvJ6qjbcfZyFlF182xp02MYi43XedKERqbK3iUq7Ss34jF08Vap2hjTroii7 0A1/qRCfPaMZTwQKMD8eqrsxLafNMkB5B7mcFJCXoRz3O+29BXLkoHnOTcFP8+KV SRPzTU5EftVKVOFk6oBWN/o=
- In-reply-to: <161202155033.ZM5595@torch.brasslantern.com>
- 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: <161202155033.ZM5595@torch.brasslantern.com>
Bart Schaefer wrote on Fri, Dec 02, 2016 at 15:50:33 -0800:
> I'm wondering whether "setopt localoptions", including via "emulate -L",
> perhaps ought to at least grumble if its state changes from unset to set
> at the top level of an interactive shell.
>
> Can wait until after 5.3, obviously. Just thinking "aloud."
Perhaps some people intentionally setopt localoptions in .zshrc so that
no plugin can change global options... but then, a plugin doing «setopt
nolocaloptions foo» would still set 'foo' globally, despite the zshrc
setting.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author