diff --git a/sh/main.sh b/sh/main.sh index 088e438..dfddf39 100644 --- a/sh/main.sh +++ b/sh/main.sh @@ -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 } diff --git a/sh/self.sh b/sh/self.sh new file mode 100644 index 0000000..134397d --- /dev/null +++ b/sh/self.sh @@ -0,0 +1,7 @@ +# output help message +rwx_self_help() { + rwx_log \ + "rwx_… = functions" \ + " a__… = aliases" \ + " u__… = user" +}