aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/mkcd.sh
blob: 6342d4a60ae02b4703a93bb32904a5354a7df6ed (plain) (blame)
1
2
3
4
# Create a directory and change into it
mkcd() {
    mkdir -p -- "$1" && builtin cd -- "$1"
}