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

Re: Read-only variables in emulation mode



On Tue, 17 Dec 2013 22:36:51 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> It's a known limitation that invoking "emulate ..." after the shell is
> already running does completely re-instantiate POSIX mode.  This is not
> likely to change.

I don't expect I'll get round to it myself, but in the case of
variables, I don't think this should be that difficult.  The variables
need saving and hiding on entry to emulation and restoring afterwards.
Most of the significant chunks of code for that are already in place.

pws



Messages sorted by: Reverse Date, Date, Thread, Author