shell/bash
This commit is contained in:
parent
2480e490be
commit
a06bab3e97
2 changed files with 18 additions and 11 deletions
|
@ -16,14 +16,3 @@ x() {
|
||||||
exit \
|
exit \
|
||||||
"${@}"
|
"${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
[ "${RWX_SHELL}" = "bash" ] || return
|
|
||||||
|
|
||||||
# shellcheck disable=SC3033
|
|
||||||
..() {
|
|
||||||
cd ..
|
|
||||||
}
|
|
||||||
# shellcheck disable=SC3033
|
|
||||||
...() {
|
|
||||||
cd ../..
|
|
||||||
}
|
|
||||||
|
|
18
sh/shell/bash.sh
Normal file
18
sh/shell/bash.sh
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
[ "${RWX_SHELL}" = "bash" ] || return
|
||||||
|
|
||||||
|
# shellcheck disable=SC3033
|
||||||
|
..() {
|
||||||
|
cd ..
|
||||||
|
}
|
||||||
|
# shellcheck disable=SC3033
|
||||||
|
...() {
|
||||||
|
cd ../..
|
||||||
|
}
|
||||||
|
# shellcheck disable=SC3033
|
||||||
|
....() {
|
||||||
|
cd ../../..
|
||||||
|
}
|
||||||
|
# shellcheck disable=SC3033
|
||||||
|
.....() {
|
||||||
|
cd ../../../..
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue