From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17667 invoked from network); 6 Sep 2000 12:49:17 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Sep 2000 12:49:17 -0000 Received: (qmail 7516 invoked by alias); 6 Sep 2000 12:49:13 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12753 Received: (qmail 7509 invoked from network); 6 Sep 2000 12:49:12 -0000 Date: Wed, 6 Sep 2000 14:49:09 +0200 (MET DST) Message-Id: <200009061249.OAA01000@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Andrej Borsenkow"'s message of Wed, 6 Sep 2000 16:41:15 +0400 Subject: Re: When should interactive option be set/.zshrc read? Andrej Borsenkow wrote: > 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" It's a copy of the interactive shell, a subshell. It doesn't read any init files whatsoever. Hm, but maybe we should turn off the option in subshells. (And probably other options, too?) Non-interactive shells do things like running shell scripts (`#!.../zsh'). Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de