aboutsummaryrefslogblamecommitdiff
path: root/sh/shrc.d/mkcd.sh
blob: c59a8c54b3682f2e121f1abd6507a57609fb63a9 (plain) (tree)
1
2
3
4

                                       
                                          
 
# Create a directory and change into it
mkcd() {
    mkdir -p -- "$1" && command cd -- "$1"
}