Command not found for zsh

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!

Printed from: http://www.porcheron.info/command-not-found-for-zsh/ .
© 2010.

3 Comments   »

  • Titom says:

    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?

  • lionel says:

    Hi JB,

    Sorry for the delay, you should source in your zsh /etc/zsh_command_not_found

RSS feed for comments on this post , TrackBack URI

Leave a Reply