From fd8c049d36b2186cda70f6517790dd5ca9a99b15 Mon Sep 17 00:00:00 2001 From: Kevin De Keyser Date: Sat, 19 Jul 2025 16:45:40 +0800 Subject: [PATCH] Fixed issue where the exit code becomes non-zero. --- lib/termsupport.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh index 994c9c322..852a543c5 100644 --- a/lib/termsupport.zsh +++ b/lib/termsupport.zsh @@ -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