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

Re: Can zsh perform read -i



i think you should use vared, eg:

VARIABLE="somevalue"
vared -p "PROMPT: " VARIABLE

Il giorno mar 15 ago 2023 alle 19:47 Lawrence Velázquez <larryv@xxxxxxx> ha scritto:
On Tue, Aug 15, 2023, at 10:11 AM, Budi wrote:
> What is zsh equivalent for :
>
> read -e -i "This is pre written text " t

https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html#index-read

> get user into readline

zsh does not use readline.

--
vq

--
Pier Paolo Grassi


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