From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10248 invoked by alias); 4 Aug 2010 08:32:57 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15247 Received: (qmail 22108 invoked from network); 4 Aug 2010 08:32:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.161.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=ggYXqNvCdotBjZFzHCfK1ttTa4yawx1dMFgIK8uIHIA=; b=YmRkgmDvberQ3YrAYCmg9990KYnqXoIxzTXoUBsP3zk/eSPekhv0Gk2eHOE2vmOGCO DIIe9Xfj41Xn5JItNVI52uKIhT4DPZqGfdoYbvdKpImFrGubK2xmbNx4RZ3ZUQ61SZ44 ncDR77s1MHq/IA1RJ+X3OW+0BxV3haR0ryvDU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=v0jj/ZYZpAHuBGH8L/fYPzuLHCLJl7cltKV9RQRzkVVr6KX1AK60Anw9Fz1VK1ikpH 0AsKt9qG3pNYvcSicximX1eOsPsjLBq3pBW/WFTx+UDovqMY/zO9sgEDTqFf/I40OL5Z GQwVBLJQVlXZ7PvAeDco1k4c/3LpPJooIktGo= MIME-Version: 1.0 In-Reply-To: <20100803.164001847201500@csa-net.dk> References: <20100803.164001847201500@csa-net.dk> From: Julien Nicoulaud Date: Wed, 4 Aug 2010 10:32:31 +0200 Message-ID: Subject: Re: Package auto-suggestion under Debian/Ubuntu ? To: =?ISO-8859-1?Q?Claus_Alb=F8ge?= Cc: zsh-users Content-Type: multipart/alternative; boundary=001485f274e2827e28048cfb478b --001485f274e2827e28048cfb478b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Even better, thank you. 2010/8/3 Claus Alb=F8ge > Hi, > > Julien Nicoulaud 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 b= y > >> 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 > --001485f274e2827e28048cfb478b--