Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: start of options tests
- X-seq: zsh-workers 14315
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: start of options tests
- Date: Fri, 11 May 2001 15:21:57 +0000
- In-reply-to: <Tc0a88d0153740b85c7@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <Tc0a88d0153740b85c7@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On May 11, 11:32am, Peter Stephenson wrote:
}
} AUTO_CD which requires SHINSTDIN to be set for some reason (it isn't
} in a script).
That's exactly the point. You're not allowed to use autocd in a script.
If shell functions had existed when autocd was invented, you probably
wouldn't be allowed to use it in a function either. It's meant to be a
purely interactive feature -- but testing INTERACTIVE isn't sufficient,
because INTERACTIVE is still set during `. file'.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author