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