From c8e4fc9b41a862531bff5cf334ac69da099aa6f1 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 8 Jul 2025 06:17:21 +0200 Subject: [PATCH] code/help --- sh/code.sh | 14 +++++++++++++- sh/self.sh | 12 ------------ 2 files changed, 13 insertions(+), 13 deletions(-) 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 │ # ╰──────┴────────╯