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
|
||||
# Make a directory, then change into it
|
||||
mkcd() {
|
||||
[[ ! -d "${1}" ]] && gmkdir --parents -- "${1}"
|
||||
[[ ! -d "${1}" ]] && mkdir --parents -- "${1}"
|
||||
cd "${1}" || exit
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user