Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: read -sq
- X-seq: zsh-users 26552
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: read -sq
- Date: Sun, 21 Feb 2021 13:58:42 -0800
- Archived-at: <https://zsh.org/users/26552>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2021-02/5009d6df-0202-380b-b2b6-6ba024a14555%40eastlink.ca>
- In-reply-to: <CAH+w=7baLKnMRd5wiA+aGnU9aomMG378A=+O8hWuntXxZ1ep+A@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <6a5328e7-e58d-5b47-c0df-463bf4c144ea@eastlink.ca> <CAH+w=7Y61xDwoONbL8c0EBMecck9oXavoOzBuDHDUu89d5bN1A@mail.gmail.com> <b50a8fcb-65d2-02c3-ab93-0ceb7a067fe0@eastlink.ca> <CAH+w=7baLKnMRd5wiA+aGnU9aomMG378A=+O8hWuntXxZ1ep+A@mail.gmail.com>
On 2021-02-21 1:00 p.m., Bart Schaefer wrote:
Depending on where/why you're using "read -q", you can potentially get
this effect by using "zle read-command" instead.
Thanks I'll take a look but I hafta admit:
...
: ${(P)${1:-REPLY}::=''}
Up to now the only time I've come across an exposed colon is in my nasty
block comments
so this is fundamental syntax that I still don't understand.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author