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

Re: How to install 'readline'



Thanks
OK so far works ~ 90%, not yet further test

On 8/16/23, Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
>> On 16/08/2023 08:01 Budi <budikusasi@xxxxxxxxx> wrote:
>> to have feature on previous ask (forget its link) ,
>>
>> "
>> What is zsh equivalent for :
>>
>> read -e -i "This is pre written text " t
>>
>> get user into readline with a pre written text ready to edit an save
>> to a variable
>>
>> "
>
> I would definitely second Pier Paolo Grassi's recommendation --- vared
> is the way to do this in zsh, as he said.  The simplest form is:
>
> var="This is prewritten text"
> vared var
>
> pws
>




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