Thanks to Johan Kiviniemi, the last upload of the command-not-found package in Feisty added support for zsh:
lionel@ouessant ~ % echo $ZSH_VERSION
4.3.2
lionel@ouessant ~ % mutt
zsh: command not found: mutt
The program 'mutt' is currently not installed. You can install it by typing:
sudo apt-get install mutt
My colleagues are going to be happy now!
Awesome. Thanks Lionel 😉
Hi Lionel, it doesn’t work for me:
$ uname -a
Linux dockee 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 GNU/Linux
$ echo $ZSH_VERSION
4.3.4
$ mutt
zsh: command not found: mutt
Am I doing something wrong?
Hi JB,
Sorry for the delay, you should source in your zsh /etc/zsh_command_not_found
[…] (from here) zsh does support this, but you have to enable it manually. Just add source […]