diff --git a/zsh-linux/.config/zsh-linux/zshrc b/zsh-linux/.config/zsh-linux/zshrc index 98d5da9..19c5b8e 100644 --- a/zsh-linux/.config/zsh-linux/zshrc +++ b/zsh-linux/.config/zsh-linux/zshrc @@ -2,7 +2,7 @@ # Make a directory, then change into it mkcd() { [[ ! -d "${1}" ]] && mkdir --parents -- "${1}" - cd "${1}" || exit + cd "${1}" || false } autoload -Uz mkcd diff --git a/zsh-macos/.config/zsh-macos/zshrc b/zsh-macos/.config/zsh-macos/zshrc index 14a071f..bd67991 100644 --- a/zsh-macos/.config/zsh-macos/zshrc +++ b/zsh-macos/.config/zsh-macos/zshrc @@ -2,7 +2,7 @@ # Make a directory, then change into it mkcd() { [[ ! -d "${1}" ]] && gmkdir --parents -- "${1}" - cd "${1}" || exit + cd "${1}" || false } autoload -Uz mkcd