summary refs log tree commit diff
path: root/Completion/Unix/Command/_man
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2014-05-29 21:39:02 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2014-05-29 21:39:02 +0100
commit5554cf8244aaa4e7bf5f153e66cd5db64e50c6e4 (patch)
tree5add044e0c9b8009f1c7d6b47b3613d48f5faaa2 /Completion/Unix/Command/_man
parent1cc3424cbe04ee4c2fab3eae75caa935054bb1c1 (diff)
downloadzsh-5554cf8244aaa4e7bf5f153e66cd5db64e50c6e4.tar.gz
zsh-5554cf8244aaa4e7bf5f153e66cd5db64e50c6e4.tar.xz
zsh-5554cf8244aaa4e7bf5f153e66cd5db64e50c6e4.zip
users/18860: man -M overrides manpath
Diffstat (limited to 'Completion/Unix/Command/_man')
-rw-r--r--Completion/Unix/Command/_man2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_man b/Completion/Unix/Command/_man
index d1346f7cc..81ac40bc2 100644
--- a/Completion/Unix/Command/_man
+++ b/Completion/Unix/Command/_man
@@ -29,7 +29,7 @@ _man() {
   if (( index )); then
     local opt
     opt=$words[index+1]
-    _manpath=($_manpath $opt)
+    _manpath=($opt)
   fi
 
   # `sman' is the SGML manual directory for Solaris 7.