I run the following command unsuccessfully
dir
and I get
zsh: correct 'dir' to 'gdir' [nyae]?
What does [nyae] mean in Zsh?
zsh
I run the following command unsuccessfully
dir
and I get
zsh: correct 'dir' to 'gdir' [nyae]?
What does [nyae] mean in Zsh?
Best Answer
zsh
has a powerful correction mechanism. If you type a command in the wrong way it suggests corrections. What happend here is thatdir
is an unknown command andzsh
suggestsgdir
, while maybels
was what you wanted.gdir
hity
(yes)dir
anyway hitn
(no)ls
hita
(abort) and type your commandudir
hite
(edit) and edit your command.