about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-17 15:22:14 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-17 15:22:14 +0000
commit85cea025033f338282f9bdf563583824bc7621aa (patch)
treee42649a5604bc17d338741a2e724b6c44302d71e
parent413c790f25992f7c309f7345ef4cdd1a5fa57dc9 (diff)
downloadzsh-85cea025033f338282f9bdf563583824bc7621aa.tar.gz
zsh-85cea025033f338282f9bdf563583824bc7621aa.tar.xz
zsh-85cea025033f338282f9bdf563583824bc7621aa.zip
manual/7920
-rw-r--r--Completion/User/_man3
1 files changed, 3 insertions, 0 deletions
diff --git a/Completion/User/_man b/Completion/User/_man
index ffdac91cd..1c17f1674 100644
--- a/Completion/User/_man
+++ b/Completion/User/_man
@@ -19,6 +19,9 @@ fi
 [ "$manpath" ] || manpath=$(manpath 2>/dev/null) || \
   manpath=( /usr/man(-/N) /(opt|usr)/(dt|share|X11R6|local)/(cat|)man(-/N) )
 
+[ "$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) )