Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: run-help improvements
- X-seq: zsh-workers 10764
 
- From: Clint Adams <schizo@xxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx
 
- Subject: PATCH: run-help improvements
 
- Date: Fri, 14 Apr 2000 11:36:56 -0400
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
These are from Radim Kolar <hsn@xxxxxxxxxxxxx>.
The second part of the hunk is to allow the specification of
sections and other man options through.
Index: Functions/Misc/run-help
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Misc/run-help,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 run-help
--- Functions/Misc/run-help	1999/11/04 19:06:45	1.1.1.4
+++ Functions/Misc/run-help	2000/04/14 15:24:41
@@ -71,8 +71,11 @@
     (*( is hashed to *))
 	man ${what[(w)-1]:t}
 	;;
+    (*( is a reserved word))
+	man zshmisc
+	;;
     (*)
-	((! didman++)) && man $1
+	((! didman++)) && man $@
 	;;
     esac
     if ((i < $#places && ! didman))
Messages sorted by:
Reverse Date,
Date,
Thread,
Author