rwx/sh/shell/bash.sh
Marc Beninca f9f93101ad
All checks were successful
/ job (push) Successful in 3m56s
shell/case
2025-07-08 02:13:03 +02:00

30 lines
452 B
Bash

# ╭───────┬──────╮
# │ shell │ bash │
# ╰───────┴──────╯
# based on currently running shell
case "${RWX_SHELL}" in
"bash") ;;
# skip illegal syntax to come
*) return ;;
esac
# shellcheck disable=SC3033
..() {
cd ..
}
# shellcheck disable=SC3033
...() {
cd ../..
}
# shellcheck disable=SC3033
....() {
cd ../../..
}
# shellcheck disable=SC3033
.....() {
cd ../../../..
}