This feature is provided by the command-not-found
package. Ubuntu installs it by default, and makes it active by default in bash but not in zsh. Just add this line to your ~/.zshrc
:
. /etc/zsh_command_not_found
This feature is provided by the command-not-found
package. Ubuntu installs it by default, and makes it active by default in bash but not in zsh. Just add this line to your ~/.zshrc
:
. /etc/zsh_command_not_found