From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23009 invoked from network); 30 Dec 2007 17:14:40 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 30 Dec 2007 17:14:40 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 12244 invoked from network); 30 Dec 2007 17:14:33 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 Dec 2007 17:14:33 -0000 Received: (qmail 27666 invoked by alias); 30 Dec 2007 17:14:29 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24326 Received: (qmail 27650 invoked from network); 30 Dec 2007 17:14:28 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 30 Dec 2007 17:14:28 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id EDD5F8058F9B for ; Sun, 30 Dec 2007 18:14:26 +0100 (CET) Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Sun, 30 Dec 2007 18:14:26 +0100 (CET) Received: from torch.brasslantern.com ([71.121.18.67]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JTV004SSH7K6WH9@vms046.mailsrvcs.net> for zsh-workers@sunsite.dk; Sun, 30 Dec 2007 11:14:08 -0600 (CST) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id lBUHE7Tc032124 for ; Sun, 30 Dec 2007 09:14:07 -0800 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id lBUHE6Xn032123 for zsh-workers@sunsite.dk; Sun, 30 Dec 2007 09:14:06 -0800 Date: Sun, 30 Dec 2007 09:14:04 -0800 From: Bart Schaefer Subject: Re: Remove path in run-help In-reply-to: To: zsh-workers@sunsite.dk Message-id: <071230091406.ZM32122@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: Comments: In reply to ( Text in unknown character set UTF-8 not shown ) Sommer "Remove path in run-help" (Dec 30, 12:47pm) X-Virus-Scanned: ClamAV using ClamSMTP On Dec 30, 12:47pm, joerg@alea.gnuu.de wrote: } } requesting help (ESC h) for /bin/ls is ugly, because man gets called with } /bin/ls as agument and tries to view the binary file. I think the following is the correct fix: Index: Functions/Misc/run-help =================================================================== diff -c -r1.3 run-help --- Functions/Misc/run-help 30 May 2007 03:36:56 -0000 1.3 +++ Functions/Misc/run-help 30 Dec 2007 16:56:45 -0000 @@ -85,7 +85,7 @@ man zshmisc ;; (*) - ((! didman++)) && man $@ + ((! didman++)) && man $@:t ;; esac if ((i < $#places && ! didman)) --