rwx/sh/shell/bash.sh

31 lines
452 B
Bash
Raw Normal View History

2025-07-07 21:43:48 +02:00
# ╭───────┬──────╮
# │ shell │ bash │
# ╰───────┴──────╯
2025-07-08 02:13:03 +02:00
# based on currently running shell
case "${RWX_SHELL}" in
"bash") ;;
# skip illegal syntax to come
*) return ;;
esac
2025-07-07 21:38:07 +02:00
# shellcheck disable=SC3033
..() {
cd ..
}
2025-07-08 01:58:47 +02:00
2025-07-07 21:38:07 +02:00
# shellcheck disable=SC3033
...() {
cd ../..
}
2025-07-08 01:58:47 +02:00
2025-07-07 21:38:07 +02:00
# shellcheck disable=SC3033
....() {
cd ../../..
}
2025-07-08 01:58:47 +02:00
2025-07-07 21:38:07 +02:00
# shellcheck disable=SC3033
.....() {
cd ../../../..
}