about summary refs log tree commit diff
diff options
context:
space:
mode:
-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