Similar to this question: How do I remove the "did you mean..." feature in the shell?
When mistyping a command you get something like:
root@pc:~# sido
No command 'sido' found, did you mean:
Command 'sudo' from package 'sudo' (main)
Command 'sudo' from package 'sudo-ldap' (universe)
sido: command not found
root@pc:~#
Is there a shell plugin for linux or ubuntu which recommends the first guess and I just have to press enter?
So it should be like:
root@pc:~# sido
No command 'sido' found, did you mean:
Command 'sudo' from package 'sudo' (main)
Command 'sudo' from package 'sudo-ldap' (universe)
sido: command not found
Did you mean 'sudo' [Y/n]?
So I just need to press enter and the sudo command is executed instead of sido.
zsh
shell an option for you?