Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to install 'readline'
- X-seq: zsh-users 29141
- From: Budi <budikusasi@xxxxxxxxx>
- To: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- Cc: zsh-users@xxxxxxx
- Subject: Re: How to install 'readline'
- Date: Wed, 16 Aug 2023 16:18:49 +0700
- Archived-at: <https://zsh.org/users/29141>
- In-reply-to: <552575375.2391327.1692175219098@mail.virginmedia.com>
- List-id: <zsh-users.zsh.org>
- References: <CAH0GyZDVBaTv5ZgBYwJJ3k5zRtxwiKVMMBAcWt=0x1ibpV9qvA@mail.gmail.com> <CAH+w=7Yafjc8hFMQLz4KemED5sm3R3ED+d2vcrvtvw_A96EJHA@mail.gmail.com> <CAH0GyZBXXwC1St8zM_QC=SZ5FbUoRSXcA7Tr8t1aHx1RJ6QgmQ@mail.gmail.com> <552575375.2391327.1692175219098@mail.virginmedia.com>
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