Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: When should interactive option be set/.zshrc read?
- X-seq: zsh-workers 12754
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: When should interactive option be set/.zshrc read?
- Date: Wed, 06 Sep 2000 13:51:23 +0100
- In-reply-to: "Your message of Wed, 06 Sep 2000 16:41:15 +0400." <000601c017ff$bedcbad0$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
> I was sure, that my .zshrc was read only by interactice zsh, but
>
> bor@itsrm2% print $options[interactive]
> on <= correct
> bor@itsrm2% : | (print $options[interactive])
> on <= ?? I doubt, this shell can be considered "interactive"
This is a completely different matter. The subshell inherits everything
from the parent shell after the fork; it never re-initialiases. It does
unset the options MONITOR and USEZLE, but not INTERACTIVE, for the
subshell, however. One might have thought that it would either change all
three or none. In particular, the effect of claiming to be interactive but
not using ZLE looks a bit weird. Unless there is some standard behind
this?
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author