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