about summary refs log tree commit diff
path: root/Completion/User/_man
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_man')
-rw-r--r--Completion/User/_man2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_man b/Completion/User/_man
index 50445edf6..60bd23dd7 100644
--- a/Completion/User/_man
+++ b/Completion/User/_man
@@ -21,7 +21,7 @@ if (( ! $#manpath )); then
   manpath=( $mp )
 fi
 
-(( $#manpath )) ||
+(( $#manpath )) || manpath=( ${(s.:.)$(manpath 2>/dev/null)} ) ||
   manpath=( /usr/man(-/N) /(opt|usr)/(dt|share|X11R6|local)/(cat|)man(-/N) )
 
 # `sman' is the SGML manual directory for Solaris 7.