diff --git a/sh/shell/bash.sh b/sh/shell/bash.sh index 20529c0..400f83c 100644 --- a/sh/shell/bash.sh +++ b/sh/shell/bash.sh @@ -2,29 +2,23 @@ # │ shell │ bash │ # ╰───────┴──────╯ -# based on currently running shell -case "${RWX_SHELL}" in - "bash") ;; - # skip illegal syntax to come - *) return ;; -esac +if [ "${RWX_SHELL}" = "bash" ]; then # shellcheck disable=SC3033 ..() { cd .. } - # shellcheck disable=SC3033 ...() { cd ../.. } - # shellcheck disable=SC3033 ....() { cd ../../.. } - # shellcheck disable=SC3033 .....() { cd ../../../.. } + +fi