From 6e32cfa832917300209d307b6e065eddfcd874ed Mon Sep 17 00:00:00 2001 From: phone Date: Thu, 7 Dec 2023 01:51:33 +0300 Subject: [PATCH] help : add completion. --- .config/bash/module/help.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/bash/module/help.sh b/.config/bash/module/help.sh index fcc894d..9fbb0f7 100644 --- a/.config/bash/module/help.sh +++ b/.config/bash/module/help.sh @@ -14,3 +14,9 @@ function help() { function h() { help "${@}" } + +function _help_functions() { + _autocomplete_first $(find_functions) +} + +complete -F _help_functions help h