rwx/sh/shell/bash.sh
2025-07-08 06:29:16 +02:00

30 lines
449 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 ../../../..
}