Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: newuser loaded for scripts
- X-seq: zsh-workers 22784
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: newuser loaded for scripts
- Date: Thu, 28 Sep 2006 10:41:45 +0100
- In-reply-to: <20060927203335.GC22780@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20060927203335.GC22780@xxxxxxxxxxxxxxx>
Frank Terbeck wrote:
> Hi workers!
>
> Somebody who doesn't use zsh wondered, why the shell wants to
> configure itself, just because he wants to run a script that is
> written in zsh.
>
> Only loading the newuser module if the shell is interactive (which
> should be enough) would fix this. I'm not too familiar with the zsh
> code, but the change should be trivial.
The module's script is supposed to check if it should really be running
later on, keeping the tests here short, but this is a perfectly
reasonable restriction, so I'll add it. Thanks.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php
Messages sorted by:
Reverse Date,
Date,
Thread,
Author