Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Package information for non-installed programs in ZSH
- X-seq: zsh-users 15940
- From: Sebastian Tramp <tramp@xxxxxxxxxxxxxxxxxxxxxxxxx>
- To: Oliver Keszöcze <keszocze@xxxxxxxxxxxxxxxxxx>
- Subject: Re: Package information for non-installed programs in ZSH
- Date: Tue, 5 Apr 2011 14:42:54 +0200
- Cc: zsh-users@xxxxxxx
- In-reply-to: <4D9AFFA0.7090905@math.uni-bremen.de>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: Oliver Keszöcze <keszocze@xxxxxxxxxxxxxxxxxx>, zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: University of Leipzig
- References: <4D9AFFA0.7090905@math.uni-bremen.de>
On Tue, Apr 05, 2011 at 01:40:16PM +0200, Oliver Keszöcze wrote:
> Using BASH and Ubuntu I get messages such as
>
> The program 'gcc' can be found in the following packages:
> * gcc
> * pentium-builder
> Try: sudo apt-get install <selected package>
>
> if I try to run stuff I do not have currently installed. If I try the same
> using
> ZSH I get
>
> zsh: correct 'gcc' to '_gcc' [nyae]? n
> zsh: command not found: gcc
>
> Is there a way to get the BASH behaviour under ZSH? Is it a BASH feature
> anyway (might be some Ubuntu stuff)?
you have to include
/etc/zsh_command_not_found
in your zshrc, which is part of the command-not-found package ...
best regards
Sebastian Tramp
--
Sebastian Tramp - Department of Computer Science; University of Leipzig
WebID: http://sebastian.tramp.name Tel. (Fax): +49 341 97 323-66 (-29)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author