about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_run-help
blob: 786ad3785d454f58fb21c534df8d7aad5c47a8d8 (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)) && d+=('.' ':') && _wanted commands expl 'command' compadd -a d
} || _man