From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5700 invoked from network); 4 Jan 2008 04:33:01 -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; 4 Jan 2008 04:33:01 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 96464 invoked from network); 4 Jan 2008 04:32:56 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Jan 2008 04:32:56 -0000 Received: (qmail 28426 invoked by alias); 4 Jan 2008 04:32:53 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24349 Received: (qmail 28408 invoked from network); 4 Jan 2008 04:32:52 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 4 Jan 2008 04:32:52 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id C16DA8058FF2 for ; Fri, 4 Jan 2008 05:32:51 +0100 (CET) Received: from acolyte.scowler.net (acolyte.scowler.net [216.254.112.45]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Fri, 4 Jan 2008 05:32:51 +0100 (CET) Received: by acolyte.scowler.net (Postfix, from userid 1000) id 570F85D0C8; Thu, 3 Jan 2008 23:32:49 -0500 (EST) Date: Thu, 3 Jan 2008 23:32:50 -0500 From: Clint Adams To: Bart Schaefer Cc: zsh-workers@sunsite.dk Subject: Re: run-help: Support for svn and git Message-ID: <20080104043250.GB675@scowler.net> Mail-Followup-To: Bart Schaefer , zsh-workers@sunsite.dk References: <071230200204.ZM32486@torch.brasslantern.com> <071231130840.ZM986@torch.brasslantern.com> <20080104001854.GA12122@scowler.net> <080103192134.ZM5704@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <080103192134.ZM5704@torch.brasslantern.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV using ClamSMTP On Thu, Jan 03, 2008 at 07:21:34PM -0800, Bart Schaefer wrote: > Wow, I don't remember if I'm really the original author of run-help. > I see that I sent it to zsh-workers back in August 1996, so I guess I > must be. However, Jeorg Sommer ought to get some credit for the idea > behind the run-help-$1 part. I'd be happier to ditch the fork, attributions and all. With this I can just sed 's,^# HELPDIR should be.*,: ${HELPDIR:=/usr/share/zsh/help},;s,:-more,:-/usr/bin/pager,' Functions/Misc/run-help Better ideas are welcome. Index: Functions/Misc/run-help =================================================================== RCS file: /cvsroot/zsh/zsh/Functions/Misc/run-help,v retrieving revision 1.8 diff -u -r1.8 run-help --- Functions/Misc/run-help 31 Dec 2007 22:13:47 -0000 1.8 +++ Functions/Misc/run-help 4 Jan 2008 04:26:18 -0000 @@ -11,6 +11,8 @@ emulate -R zsh setopt localoptions +# HELPDIR should be set to the location of the help files + [[ $1 == "." ]] && 1="dot" [[ $1 == ":" ]] && 1="colon"