From a06bab3e976089aa283f9c1214f178ccaf369009 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 7 Jul 2025 21:38:07 +0200 Subject: [PATCH] shell/bash --- sh/alias/shell.sh | 11 ----------- sh/shell/bash.sh | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 11 deletions(-) create mode 100644 sh/shell/bash.sh 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 ../../../.. +}