From 259aae444a48559fa7d1405b1f93c6d3abdf9462 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 8 Jul 2025 01:58:47 +0200 Subject: [PATCH] shell/bash --- sh/shell/bash.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sh/shell/bash.sh b/sh/shell/bash.sh index 400f83c..3f3287b 100644 --- a/sh/shell/bash.sh +++ b/sh/shell/bash.sh @@ -2,23 +2,25 @@ # │ shell │ bash │ # ╰───────┴──────╯ -if [ "${RWX_SHELL}" = "bash" ]; then +[ "${RWX_SHELL}" = "bash" ] || + return # shellcheck disable=SC3033 ..() { cd .. } + # shellcheck disable=SC3033 ...() { cd ../.. } + # shellcheck disable=SC3033 ....() { cd ../../.. } + # shellcheck disable=SC3033 .....() { cd ../../../.. } - -fi