Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#844710: Fwd: Re: [Pkg-zsh-devel] Bug#844710: autocorrection suggested rm for typing mr without typing "y"
- X-seq: zsh-workers 39985
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx, 844710@xxxxxxxxxxxxxxx
- Subject: Re: Bug#844710: Fwd: Re: [Pkg-zsh-devel] Bug#844710: autocorrection suggested rm for typing mr without typing "y"
- Date: Sat, 19 Nov 2016 12:21:19 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=BbN6nl4wZT+byVp 1yM4NTsXpfg0=; b=jhPpPw27jpkjKE+A3EhYx7O0kJcGH+lrll37y+S+kuSaMl8 EZlR6V08Tqp/Hgk6LCM6UOA0K9xlRbVccyZzR3q6L+Gv7whtWBnqw76ALsXGuzJu j708lCPe5CPDYkB86PJKYgiyqap4dViMsGSIT8vXDuQeqx/vBaH9i1xbziEk=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=BbN6nl4wZT+byV p1yM4NTsXpfg0=; b=OiCsKZQxlBhP8bJAfQyOptg96yLtcQz0CDEEx8mGWIGse5 ndzIoFHAR9wjA8Kr8nfE3Fxb2z4rx30l24xa0fka3aPch5GiGhBTGQviUi93yZbT jLJk8exzvwdie1es9IqQU2eAV5VXgFlwOZpzIUvhl4aw7rNS55CGcpiHK0Pww=
- In-reply-to: <87k2bzzo7x.fsf@ft.bewatermyfriend.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <3574167.p9ErITdPmY@merkaba> <20161119075542.GA6750@fujitsu.shahaf.local2> <7714408.9UiMmvpNuW@merkaba> <87k2bzzo7x.fsf@ft.bewatermyfriend.org>
Frank Terbeck wrote on Sat, Nov 19, 2016 at 12:46:42 +0100:
> >> On a tangent: what do "nyae" mean? I couldn't find the answer in the
> >> manual.
> >
> (Y)es, (N)o, (A)bort, (E)dit.
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index c7d84b9..0db8a1c 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -1458,6 +1458,14 @@ The prompt used for spelling correction. The sequence
`tt(%R)' expands to the string which presumably needs spelling
correction, and `tt(%r)' expands to the proposed correction.
All other prompt escapes are also allowed.
+
+The actions available at the prompt are tt([nyae]):
+startsitem()
+sitem(tt(n) +LPAR()`no'+RPAR() +LPAR()default+RPAR())(Discard the correction and run the command.)
+sitem(tt(y) +LPAR()`yes'+RPAR())(Make the correction and run the command.)
+sitem(tt(a) +LPAR()`abort'+RPAR())(Discard the entire command line without running it.)
+sitem(tt(e) +LPAR()`edit'+RPAR())(Resume editing the command line.)
+endsitem()
)
vindex(STTY)
item(tt(STTY))(
Messages sorted by:
Reverse Date,
Date,
Thread,
Author