Compare commits
No commits in common. "f9f93101ad7a5c4757f004716e5bc1b42103b04b" and "091c9339f70b428eab746f315648c9e099ef7473" have entirely different histories.
f9f93101ad
...
091c9339f7
1 changed files with 3 additions and 9 deletions
|
@ -2,29 +2,23 @@
|
||||||
# │ shell │ bash │
|
# │ shell │ bash │
|
||||||
# ╰───────┴──────╯
|
# ╰───────┴──────╯
|
||||||
|
|
||||||
# based on currently running shell
|
if [ "${RWX_SHELL}" = "bash" ]; then
|
||||||
case "${RWX_SHELL}" in
|
|
||||||
"bash") ;;
|
|
||||||
# skip illegal syntax to come
|
|
||||||
*) return ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# shellcheck disable=SC3033
|
# shellcheck disable=SC3033
|
||||||
..() {
|
..() {
|
||||||
cd ..
|
cd ..
|
||||||
}
|
}
|
||||||
|
|
||||||
# shellcheck disable=SC3033
|
# shellcheck disable=SC3033
|
||||||
...() {
|
...() {
|
||||||
cd ../..
|
cd ../..
|
||||||
}
|
}
|
||||||
|
|
||||||
# shellcheck disable=SC3033
|
# shellcheck disable=SC3033
|
||||||
....() {
|
....() {
|
||||||
cd ../../..
|
cd ../../..
|
||||||
}
|
}
|
||||||
|
|
||||||
# shellcheck disable=SC3033
|
# shellcheck disable=SC3033
|
||||||
.....() {
|
.....() {
|
||||||
cd ../../../..
|
cd ../../../..
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue