From: Pier Paolo Grassi <pierpaolog@gmail.com>
To: "Lawrence Velázquez" <larryv@zsh.org>
Cc: Budi <budikusasi@gmail.com>, zsh-users@zsh.org
Subject: Re: Can zsh perform read -i
Date: Tue, 15 Aug 2023 20:07:31 +0200 [thread overview]
Message-ID: <CAP+y1xB6cC6cM2K4vBSDgQARMUBmNbF3DkQpA0jW8Qkg=LWvow@mail.gmail.com> (raw)
In-Reply-To: <90ef9c41-0c5e-477b-bb3d-09c3121e64ca@app.fastmail.com>
[-- Attachment #1: Type: text/plain, Size: 510 bytes --]
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@zsh.org> 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
[-- Attachment #2: Type: text/html, Size: 3897 bytes --]
prev parent reply other threads:[~2023-08-15 18:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-15 14:11 Budi
2023-08-15 17:42 ` Lawrence Velázquez
2023-08-15 18:07 ` Pier Paolo Grassi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAP+y1xB6cC6cM2K4vBSDgQARMUBmNbF3DkQpA0jW8Qkg=LWvow@mail.gmail.com' \
--to=pierpaolog@gmail.com \
--cc=budikusasi@gmail.com \
--cc=larryv@zsh.org \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).