From ff5116380c7ac73a658ffd20b75639b46528a570 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 7 Jul 2025 21:43:48 +0200 Subject: [PATCH] bash/if --- sh/shell/bash.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sh/shell/bash.sh b/sh/shell/bash.sh index 627079b..400f83c 100644 --- a/sh/shell/bash.sh +++ b/sh/shell/bash.sh @@ -1,4 +1,8 @@ -[ "${RWX_SHELL}" = "bash" ] || return +# ╭───────┬──────╮ +# │ shell │ bash │ +# ╰───────┴──────╯ + +if [ "${RWX_SHELL}" = "bash" ]; then # shellcheck disable=SC3033 ..() { @@ -16,3 +20,5 @@ .....() { cd ../../../.. } + +fi