about summary refs log tree commit diff
path: root/Completion/User/_man
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_man')
-rw-r--r--Completion/User/_man2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_man b/Completion/User/_man
index ec2af00f0..5d07f61fa 100644
--- a/Completion/User/_man
+++ b/Completion/User/_man
@@ -15,7 +15,7 @@ if [[ -n $_comp_correct ]]; then
 fi
 
 if (( ! $#manpath )); then
-  local mp=$(manpath 2>/dev/null)
+  local mp=($(manpath 2>/dev/null))
   [[ "$mp" == *:* ]] && mp=( ${(s.:.)mp} )
   manpath=( $mp )
 fi