zsh-users
 help / color / mirror / code / Atom feed
From: Julien Nicoulaud <julien.nicoulaud@gmail.com>
To: "Claus Albøge" <csa@csa-net.dk>
Cc: zsh-users <zsh-users@zsh.org>
Subject: Re: Package auto-suggestion under Debian/Ubuntu ?
Date: Wed, 4 Aug 2010 10:32:31 +0200	[thread overview]
Message-ID: <AANLkTik8zuh6JFN+Hra4PYr5rJrb0QZZXTJ5KT6M0ZhO@mail.gmail.com> (raw)
In-Reply-To: <20100803.164001847201500@csa-net.dk>

[-- Attachment #1: Type: text/plain, Size: 868 bytes --]

Even better, thank you.

2010/8/3 Claus Albøge <csa@csa-net.dk>

> 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
>

      reply	other threads:[~2010-08-04  8:32 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
2010-08-04  8:32   ` Julien Nicoulaud [this message]

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=AANLkTik8zuh6JFN+Hra4PYr5rJrb0QZZXTJ5KT6M0ZhO@mail.gmail.com \
    --to=julien.nicoulaud@gmail.com \
    --cc=csa@csa-net.dk \
    --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).