Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Package auto-suggestion under Debian/Ubuntu ?
- X-seq: zsh-users 15238
- From: csa@xxxxxxxxxx (Claus AlbÃge)
- To: Julien Nicoulaud <julien.nicoulaud@xxxxxxxxx>
- Subject: Re: Package auto-suggestion under Debian/Ubuntu ?
- Date: Tue, 03 Aug 2010 16:40:01 +0200
- Cc: zsh-users <zsh-users@xxxxxxx>
- In-reply-to: <AANLkTi=FkKaUU5tKHFTdbV5AAmwp05m4FCg2+DLtvYRP@xxxxxxxxxxxxxx> (Julien Nicoulaud's message of "Tue, 3 Aug 2010 15:14:20 +0200")
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <AANLkTi=FkKaUU5tKHFTdbV5AAmwp05m4FCg2+DLtvYRP@xxxxxxxxxxxxxx>
- Sender: csa@xxxxxxxxxx
Hi,
Julien Nicoulaud <julien.nicoulaud@xxxxxxxxx> writes:
> Hi all, One small thing I like with Bash is that auto-suggests
> packages when you try to use an unknown command, like this:
>
> $ eclipse
>
> The program 'eclipse' is currently not installed. You can install it by
>> typing:
>
> sudo apt-get install eclipse-platform
>
>
> In Zsh, I just get:
>
> % eclipse
>
> zsh: command not found: eclipse
>
>
> Does anyone how to get this working with Zsh ?
Should work on any Ubuntu since Hardy:
% sudo apt-get install command-not-found
% grep zsh /usr/share/doc/command-not-found/README
To use it in zsh, please add the following line to your .zshrc file:
. /etc/zsh_command_not_found
/Claus A
Messages sorted by:
Reverse Date,
Date,
Thread,
Author