zsh-users
 help / color / mirror / code / Atom feed
From: csa@csa-net.dk (Claus Albøge)
To: Julien Nicoulaud <julien.nicoulaud@gmail.com>
Cc: zsh-users <zsh-users@zsh.org>
Subject: Re: Package auto-suggestion under Debian/Ubuntu ?
Date: Tue, 03 Aug 2010 16:40:01 +0200	[thread overview]
Message-ID: <20100803.164001847201500@csa-net.dk> (raw)
In-Reply-To: <AANLkTi=FkKaUU5tKHFTdbV5AAmwp05m4FCg2+DLtvYRP@mail.gmail.com> (Julien Nicoulaud's message of "Tue, 3 Aug 2010 15:14:20 +0200")

Hi,

Julien Nicoulaud <julien.nicoulaud@gmail.com> 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


  parent reply	other threads:[~2010-08-03 14:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-03 13:14 Julien Nicoulaud
2010-08-03 13:38 ` Frank Terbeck
2010-08-03 13:55   ` Julien Nicoulaud
2010-08-03 14:40 ` Claus Albøge [this message]
2010-08-04  8:32   ` Julien Nicoulaud

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100803.164001847201500@csa-net.dk \
    --to=csa@csa-net.dk \
    --cc=julien.nicoulaud@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).