diff --git a/sh/code.sh b/sh/code.sh index 0b1403d..a037897 100644 --- a/sh/code.sh +++ b/sh/code.sh @@ -27,6 +27,18 @@ _rwx_code_functions="" # cache for code variables _rwx_code_variables="" +# ╭──────┬──────╮ +# │ code │ help │ +# ╰──────┴──────╯ + +# output help message +rwx_code_help() { + rwx_log \ + "rwx_… = functions" \ + " a__… = aliases" \ + " u__… = user" +} + # ╭──────┬─────────╮ # │ code │ install │ # ╰──────┴─────────╯ @@ -219,7 +231,7 @@ rwx_code_main() { if rwx_shell_interactive; then # help rwx_log - rwx_self_help + rwx_code_help fi fi } diff --git a/sh/self.sh b/sh/self.sh index 314064a..76424f3 100644 --- a/sh/self.sh +++ b/sh/self.sh @@ -2,18 +2,6 @@ # │ self │ # ╰──────╯ -# ╭──────┬──────╮ -# │ self │ help │ -# ╰──────┴──────╯ - -# output help message -rwx_self_help() { - rwx_log \ - "rwx_… = functions" \ - " a__… = aliases" \ - " u__… = user" -} - # ╭──────┬────────╮ # │ self │ subset │ # ╰──────┴────────╯