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