# shorten alias
a() {
	alias \
		"${@}"
}

# swap directory (current ↔ previous)
sd() {
	cd \
		- ||
		return
}

# exit terminal
x() {
	exit \
		"${@}"
}

[ "${RWX_SHELL}" = "bash" ] || return

# shellcheck disable=SC3033
..() {
	cd ..
}
# shellcheck disable=SC3033
...() {
	cd ../..
}