diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-22 12:35:20 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-22 12:35:20 +0000 |
| commit | d139ae56432a82a3dbe11f4be89ba7d886f2c177 (patch) | |
| tree | f2cd4d874fe13fe923490dd69bd92a0fb3314381 /Completion/User/_man | |
| parent | zsh-workers/7963 (diff) | |
| download | zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.gz zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.bz2 zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.lz zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.xz zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.zst zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.zip | |
zsh-3.1.6-pws-5zsh-3.1.6-pws-5
Diffstat (limited to 'Completion/User/_man')
| -rw-r--r-- | Completion/User/_man | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/User/_man b/Completion/User/_man index ffdac91cd..88d2118c0 100644 --- a/Completion/User/_man +++ b/Completion/User/_man @@ -14,11 +14,11 @@ if [[ -n $_comp_correct ]]; then approx="(#a${_comp_correct})" fi -# `sman' is the SGML manual directory for Solaris 7. - -[ "$manpath" ] || manpath=$(manpath 2>/dev/null) || \ +(( $#manpath )) || manpath=$(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. + if [[ $words[2] = (<->*|ln) ]]; then rep=( $manpath/(sman|man|cat)${words[2]}/${~approx}$PREFIX${~star}$SUFFIX.<->*(N:t) ) |
