Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is this correct? Redirecting stdin/stout to implement a gdb-like "set inferior tty" in zshdb
- X-seq: zsh-users 13601
- From: Greg Klanderman <gak@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Is this correct? Redirecting stdin/stout to implement a gdb-like "set inferior tty" in zshdb
- Date: Sat, 20 Dec 2008 00:17:59 -0500
- In-reply-to: <m31vwee3ul.fsf@xxxxxxxxxxxxxx> (Greg Klanderman's message of "Thu, 11 Dec 2008 17:36:50 -0500")
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <6cd6de210812090327o11abb9f3w2cc932515e4dbef8@xxxxxxxxxxxxxx> <20081209114423.1382b8e5@news01> <m31vwee3ul.fsf@xxxxxxxxxxxxxx>
- Reply-to: gak@xxxxxxxxxxxxxx
>>>>> Greg Klanderman <gak@xxxxxxxxxxxxxx> writes:
> I've been doing something like this for a long time and history works
> for me, however ALWAYS_LAST_PROMPT doesn't (I have compctl completions
> configured in the script). Any ideas why this doesn't work?
I just had to add the "i" flag to the invocation, i.e. "#!/bin/zsh -fi"
in my script and it now works. Of course figuring that out took a
fair amount of time groveling through the zsh source code since I was
thrown off by the INTERACTIVE option being mis-documented as "-1".
Greg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author