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.
- If you want to execute
gdirhity(yes) - If you want to try to execute
diranyway hitn(no) - If you want to execute completely different spelt command like
lshita(abort) and type your command - If you want to execute a similar spelt commant like
udirhite(edit) and edit your command.