Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: run-help improvements



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