Fixed issue where the exit code becomes non-zero.

This commit is contained in:
Kevin De Keyser 2025-07-19 16:45:40 +08:00 committed by GitHub
commit fd8c049d36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,7 +53,7 @@ function omz_termsupport_precmd {
# Runs before executing the command
function omz_termsupport_preexec {
[[ "${DISABLE_AUTO_TITLE:-}" != true ]] || return
[[ "${DISABLE_AUTO_TITLE:-}" != true ]] || return 0
emulate -L zsh
setopt extended_glob