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

PATCH: fix man page completion for /usr/pkg/man on NetBSD



Hi.

Addon software on NetBSD gets installed in /usr/pkg by default.  This
fixes command line completion for the man command to look there.

Index: Completion/Unix/Command/_man
===================================================================
--- Completion/Unix/Command/_man.orig   2006-02-12 00:51:53.000000000 -0600
+++ Completion/Unix/Command/_man        2006-02-12 00:51:53.000000000 -0600
@@ -19,7 +19,7 @@
   fi

   (( $#_manpath )) ||
-      _manpath=( /usr/man(-/) /(opt|usr)/(dt|share|X11R6|local)/(cat|)man(-/) )
+      _manpath=( /usr/man(-/) /(opt|usr)/(pkg|dt|share|X11R6|local)/(cat|)man(-/) )

   # `sman' is the SGML manual directory for Solaris 7.
   # 1M is system administrator commands on SVR4




Messages sorted by: Reverse Date, Date, Thread, Author