help : add completion.

This commit is contained in:
Dmitry Voronin 2023-12-07 01:51:33 +03:00
parent bf8c65e275
commit 6e32cfa832

View file

@ -14,3 +14,9 @@ function help() {
function h() { function h() {
help "${@}" help "${@}"
} }
function _help_functions() {
_autocomplete_first $(find_functions)
}
complete -F _help_functions help h