From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1992 invoked by alias); 5 Apr 2011 12:49:11 -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: 15940 Received: (qmail 29455 invoked from network); 5 Apr 2011 12:49:06 -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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at informatik.uni-leipzig.de does not designate permitted sender hosts) Date: Tue, 5 Apr 2011 14:42:54 +0200 From: Sebastian Tramp To: Oliver =?iso-8859-1?Q?Kesz=F6cze?= Cc: zsh-users@zsh.org Subject: Re: Package information for non-installed programs in ZSH Message-ID: <20110405124254.GA3483@soljaris5.fritz.box> Mail-Followup-To: Oliver =?iso-8859-1?Q?Kesz=F6cze?= , zsh-users@zsh.org References: <4D9AFFA0.7090905@math.uni-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4D9AFFA0.7090905@math.uni-bremen.de> Organization: University of Leipzig X-FOAF: http://sebastian.tramp.name User-Agent: Mutt/1.5.21 (2010-09-15) 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 > > 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)