Fix mkdir command in mkcd in linux zsh config
This commit is contained in:
parent
bde27a8f54
commit
50cef691f5
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user