diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-09 11:40:11 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-09 11:40:11 +0000 |
commit | b1e5dd85179a2ffd2d0235493d40e258847fa596 (patch) | |
tree | c1ddeb881ef99640a7b545c2071e2b347e094780 /Completion/User/_man | |
parent | d9e72bbb60a8172921f2b3ac47bdeccce18ccab4 (diff) | |
download | zsh-b1e5dd85179a2ffd2d0235493d40e258847fa596.tar.gz zsh-b1e5dd85179a2ffd2d0235493d40e258847fa596.tar.xz zsh-b1e5dd85179a2ffd2d0235493d40e258847fa596.zip |
manual/8139
Diffstat (limited to 'Completion/User/_man')
-rw-r--r-- | Completion/User/_man | 9 |
1 files changed, 1 insertions, 8 deletions
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. |