diff --git a/sh/alias/shell.sh b/sh/alias/shell.sh index d6f5801..f216c92 100644 --- a/sh/alias/shell.sh +++ b/sh/alias/shell.sh @@ -16,14 +16,3 @@ x() { exit \ "${@}" } - -[ "${RWX_SHELL}" = "bash" ] || return - -# shellcheck disable=SC3033 -..() { - cd .. -} -# shellcheck disable=SC3033 -...() { - cd ../.. -} diff --git a/sh/shell/bash.sh b/sh/shell/bash.sh new file mode 100644 index 0000000..627079b --- /dev/null +++ b/sh/shell/bash.sh @@ -0,0 +1,18 @@ +[ "${RWX_SHELL}" = "bash" ] || return + +# shellcheck disable=SC3033 +..() { + cd .. +} +# shellcheck disable=SC3033 +...() { + cd ../.. +} +# shellcheck disable=SC3033 +....() { + cd ../../.. +} +# shellcheck disable=SC3033 +.....() { + cd ../../../.. +}