aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/pushd.bash
blob: ec6210378c4d01da3b2afc1d07acb683dfff5f52 (plain)
1
2
3
4
# Make pushd default to $HOME if no arguments given, much like cd
pushd() {
    builtin pushd "${@:-"$HOME"}"
}