Fix mkdir command in mkcd in linux zsh config

This commit is contained in:
Eric Torres 2023-02-17 09:42:31 -08:00
parent bde27a8f54
commit 50cef691f5

View File

@ -1,7 +1,7 @@
# Linux-specific zsh configuration # Linux-specific zsh configuration
# Make a directory, then change into it # Make a directory, then change into it
mkcd() { mkcd() {
[[ ! -d "${1}" ]] && gmkdir --parents -- "${1}" [[ ! -d "${1}" ]] && mkdir --parents -- "${1}"
cd "${1}" || exit cd "${1}" || exit
} }