From b1e5dd85179a2ffd2d0235493d40e258847fa596 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Sat, 9 Oct 1999 11:40:11 +0000 Subject: manual/8139 --- Completion/User/_man | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Completion') diff --git a/Completion/User/_man b/Completion/User/_man index fd5702227..0c148a518 100644 --- a/Completion/User/_man +++ b/Completion/User/_man @@ -14,14 +14,7 @@ if [[ -n $_comp_correct ]]; then approx="(#a${_comp_correct})" fi -if (( ! $#manpath )); then - local mp - mp=($(manpath 2>/dev/null)) - [[ "$mp" == *:* ]] && mp=( ${(s.:.)mp} ) - 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. -- cgit 1.4.1