Can the zsh
shell be configured to show what bash
shows when a command does not exist, similarly to this:
kahless:~$ sysv-rc-conf
The program 'sysv-rc-conf' is currently not installed. You can install it by typing:
sudo apt-get install sysv-rc-conf
rather than the ZSH prompt:
[kahless /home/teward]% sysv-rc-conf
zsh: command not found: sysv-rc-conf
Note I do not want to change the prompt itself, but I want to change the result from zsh: command not found
to a bash-like output of The program 'progname' is currently not installed. You can install it by typing:
or similar.
Is this possible with ZSH?