21 lines
212 B
Bash
21 lines
212 B
Bash
# change current directory to its parent
|
|
alias ..="\
|
|
cd \
|
|
.. \
|
|
"
|
|
|
|
# swap directory (current ↔ previous)
|
|
alias sd="\
|
|
cd \
|
|
- \
|
|
"
|
|
|
|
# import source file
|
|
alias src="\
|
|
source \
|
|
"
|
|
|
|
# exit terminal
|
|
alias x="\
|
|
exit \
|
|
"
|