Closed orpheuslummis closed 12 years ago
Was horribly confused too when I first ran into this, had to look it up.
Source: http://zsh.sourceforge.net/Intro/intro_16.html
If you press y when the shell asks you if you want to correct a word, it will be corrected. If you press n, it will be left alone. Pressing a aborts the command. Pressing e brings the line up for editing again, in case you agree the word is spelled wrong but you don't like the correction.
Ooh. I wasn't aware of the manual. Thanks a lot and have a great day.
I started learning zsh recently and I've been using oh-my-zsh all along. I'm on the brink of shouting “OH MY ZSHELL!” — but not quite. I'm puzzling myself on the command correction utility, or rather, its interface.
Say I enter
tmu
in the prompt, I get backzsh: correct 'tmu' to 'tmux' [nyae]?
Which is alright if I pressn
ory
, knowing that, by convention, it should meanno
oryes
. But what's with the followinga
ande
?a
seemingly does the same thing asn
, ande
the same thing asn
anda
, but with leaving the 'tmu' in the prompt.Could someone enlighten me?