Compare commits
2 commits
091c9339f7
...
f9f93101ad
Author | SHA1 | Date | |
---|---|---|---|
f9f93101ad | |||
259aae444a |
1 changed files with 9 additions and 3 deletions
|
@ -2,23 +2,29 @@
|
|||
# │ shell │ bash │
|
||||
# ╰───────┴──────╯
|
||||
|
||||
if [ "${RWX_SHELL}" = "bash" ]; then
|
||||
# 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 ../../../..
|
||||
}
|
||||
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue