sh/bash/alias/bash.sh
2023-05-20 09:18:21 +02:00

27 lines
291 B
Bash

# change current directory to its parent
alias ..="\
cd \
.. \
"
# change current directory to its parent's parent
alias ...="\
cd \
../.. \
"
# swap directory (current ↔ previous)
alias sd="\
cd \
- \
"
# import source file
alias src="\
source \
"
# exit terminal
alias x="\
exit \
"