help : add completion.
This commit is contained in:
parent
bf8c65e275
commit
6e32cfa832
|
@ -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
|
||||||
|
|
Reference in a new issue