Skip to content

Command not found for zsh

2007 March 29
tags:
by Lionel Porcheron

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!

3 Responses Post a comment
  1. Titom permalink
    April 2, 2007

    Awesome. Thanks Lionel ;-)

  2. December 4, 2007

    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?

  3. lionel permalink
    December 14, 2007

    Hi JB,

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

Leave a Reply

Note: You may use basic HTML in your comments. Your email address will not be published.

Subscribe to this comment feed via RSS