zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: Remove path in run-help
Date: Sun, 30 Dec 2007 09:14:04 -0800	[thread overview]
Message-ID: <071230091406.ZM32122@torch.brasslantern.com> (raw)
In-Reply-To: <slrnfnf4qd.cgh.joerg@alea.gnuu.de>

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


-- 


      reply	other threads:[~2007-12-30 17:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-30 12:47 Jörg Sommer
2007-12-30 17:14 ` Bart Schaefer [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=071230091406.ZM32122@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /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).