rwx/sh/alias/shell.sh

19 lines
156 B
Bash
Raw Normal View History

# shorten alias
a() {
alias \
"${@}"
}
# swap directory (current ↔ previous)
sd() {
cd \
- ||
return
}
# exit terminal
x() {
exit \
"${@}"
}