about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-28 09:38:16 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-28 09:38:16 +0000
commit4908fb3158aa452b7c5244279a94868875d5afa5 (patch)
tree16e660c987cafa53d94dd8c3cf11e0104e987300 /Completion
parentc600fcce08e6c6a70b7eec28cef6576362d2caba (diff)
downloadzsh-4908fb3158aa452b7c5244279a94868875d5afa5.tar.gz
zsh-4908fb3158aa452b7c5244279a94868875d5afa5.tar.xz
zsh-4908fb3158aa452b7c5244279a94868875d5afa5.zip
zsh-workers/8082
Diffstat (limited to 'Completion')
-rw-r--r--Completion/User/_man3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/User/_man b/Completion/User/_man
index 5d07f61fa..fd5702227 100644
--- a/Completion/User/_man
+++ b/Completion/User/_man
@@ -15,7 +15,8 @@ if [[ -n $_comp_correct ]]; then
 fi
 
 if (( ! $#manpath )); then
-  local mp=($(manpath 2>/dev/null))
+  local mp
+  mp=($(manpath 2>/dev/null))
   [[ "$mp" == *:* ]] && mp=( ${(s.:.)mp} )
   manpath=( $mp )
 fi