self/help

This commit is contained in:
Marc Beninca 2024-11-29 22:54:00 +01:00
parent 5e8e84246d
commit c60ab4f5f5
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 8 additions and 9 deletions

View file

@ -81,14 +81,6 @@ rwx_grep_functions() {
cut --delimiter "(" --fields 1
}
# output help message
rwx_help() {
rwx_log \
"rwx_… = functions" \
" a__… = aliases" \
" u__… = user"
}
# test if active shell is in interactive mode
rwx_shell_interactive() {
case "${-}" in
@ -146,7 +138,7 @@ rwx_main() {
rwx_shellcheck_check "${RWX_ROOT_SYSTEM}"
# help
rwx_log
rwx_help
rwx_self_help
fi
}

7
sh/self.sh Normal file
View file

@ -0,0 +1,7 @@
# output help message
rwx_self_help() {
rwx_log \
"rwx_… = functions" \
" a__… = aliases" \
" u__… = user"
}