Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Zsh can't do "echo -n" preceding vared <variable>



vared -p BEGINNING var

works like a charm

THANKS SO MUCH!

On 8/17/23, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Thu, Aug 17, 2023 at 8:13 AM Peter Stephenson
> <p.w.stephenson@xxxxxxxxxxxx> wrote:
>>
>> What you can do is use "vared -p prompt" to output something at the
>> start of the line, which doesn't have that problem as vared knows
>> it's there.
>
> More generally, a key difference from bash+readline is that ZLE
> manages the prompts as well as the input.
>




Messages sorted by: Reverse Date, Date, Thread, Author