# shorten alias a() { alias \ "${@}" } # swap directory (current ↔ previous) sd() { cd \ - || return } # exit terminal x() { exit \ "${@}" } [ "${SH_SHELL}" = "bash" ] || return # shellcheck disable=SC3033 ..() { cd .. } # shellcheck disable=SC3033 ...() { cd ../.. }