summary refs log tree commit diff
path: root/Completion/Zsh/Command/_run-help
blob: 81adc4d841f0ccdd35fc9879cd0d4856fcc34bda (plain) (blame)
1
2
3
4
5
6
7
#compdef run-help
local d expl
local HELPDIR=${HELPDIR:-@runhelpdir@}
[[ -d $HELPDIR ]] && {
	d=($HELPDIR/*(:t))
	(($#d)) && d+=('.' ':') && _wanted commands expl 'command' compadd -a d
} || _man