I run the following command unsuccessfully
dir
and I get
zsh: correct 'dir' to 'gdir' [nyae]?
What does [nyae] mean in Zsh?
zsh
has a powerful correction mechanism. If you type a command in the wrong way it suggests corrections.
What happend here is that dir
is an unknown command and zsh
suggests gdir
, while maybe ls
was what you wanted.
gdir
hit y
(yes)dir
anyway hit n
(no)ls
hit a
(abort) and type your commandudir
hit e
(edit) and edit your command.