Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Remove path in run-help
- X-seq: zsh-workers 24326
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Remove path in run-help
- Date: Sun, 30 Dec 2007 09:14:04 -0800
- In-reply-to: <slrnfnf4qd.cgh.joerg@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <slrnfnf4qd.cgh.joerg@xxxxxxxxxxxx>
On Dec 30, 12:47pm, joerg@xxxxxxxxxxxx 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))
--
Messages sorted by:
Reverse Date,
Date,
Thread,
Author