Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: BUG: vared in function
- X-seq: zsh-workers 11697
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: BUG: vared in function
- Date: Wed, 31 May 2000 22:55:21 +0100
- In-reply-to: "Bernd Eggink"'s message of "Wed, 31 May 2000 23:06:03 +0200." <20000531230559.A12072@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bernd Eggink wrote:
> Argh...
>
> # t
> vared -cp "Aha: " BLAH
>
> % t
> t:vared:2: ZLE not enabled
>
> This breaks lots of my scripts!
> On the command line, 'vared' works.
(I take it that should be `script' rather than `function' in the subject
line, functions are OK.)
I don't think there's any good reason why zle shouldn't be enabled
especially, if it can find a terminal which it can, but until whoever made
the change takes a look you can workaround it by giving zsh the -i option
to run the script interactively. That might have other side effects,
though.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
Work: pws@xxxxxxxxxxxxxxxxxxxxxxxxx
Web: http://www.pwstephenson.fsnet.co.uk
Messages sorted by:
Reverse Date,
Date,
Thread,
Author