From 9503b161ab893a5d5c6ac6f9fdd9e938aee7045c Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Sat, 23 Nov 2013 17:44:12 +0000
Subject: 32031 plus missed _run_help: get helpfiles install path corect in
functions
---
Completion/Zsh/Command/_run-help | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'Completion/Zsh')
diff --git a/Completion/Zsh/Command/_run-help b/Completion/Zsh/Command/_run-help
index 786ad3785..81adc4d84 100644
--- a/Completion/Zsh/Command/_run-help
+++ b/Completion/Zsh/Command/_run-help
@@ -1,6 +1,6 @@
#compdef run-help
local d expl
-local HELPDIR=${HELPDIR:-/usr/share/zsh/$ZSH_VERSION/help}
+local HELPDIR=${HELPDIR:-@runhelpdir@}
[[ -d $HELPDIR ]] && {
d=($HELPDIR/*(:t))
(($#d)) && d+=('.' ':') && _wanted commands expl 'command' compadd -a d
--
cgit 1.4.1