From 413c790f25992f7c309f7345ef4cdd1a5fa57dc9 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Fri, 17 Sep 1999 15:20:22 +0000 Subject: manual/7919 --- Completion/User/_man | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Completion/User/_man b/Completion/User/_man index 1061d309e..ffdac91cd 100644 --- a/Completion/User/_man +++ b/Completion/User/_man @@ -16,6 +16,9 @@ fi # `sman' is the SGML manual directory for Solaris 7. +[ "$manpath" ] || manpath=$(manpath 2>/dev/null) || \ + manpath=( /usr/man(-/N) /(opt|usr)/(dt|share|X11R6|local)/(cat|)man(-/N) ) + if [[ $words[2] = (<->*|ln) ]]; then rep=( $manpath/(sman|man|cat)${words[2]}/${~approx}$PREFIX${~star}$SUFFIX.<->*(N:t) ) -- cgit 1.4.1