summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKevin De Keyser <dekeyser.kevin97@gmail.com>2025-07-21 17:11:35 +0800
committerGitHub <noreply@github.com>2025-07-21 11:11:35 +0200
commit2ac69955e84d5ab2407e848275dfc2768b3b1531 (patch)
tree8b21773bbe4bcf32288689a8a38a3c2b93b3fc4a /lib
parent8425e9774ea4be998a51c8c73c7f6e33000f9176 (diff)
downloadzsh-2ac69955e84d5ab2407e848275dfc2768b3b1531.tar.gz
zsh-2ac69955e84d5ab2407e848275dfc2768b3b1531.tar.bz2
zsh-2ac69955e84d5ab2407e848275dfc2768b3b1531.zip
fix(termsupport): ensure non-error return code (#13217)
Diffstat (limited to 'lib')
-rw-r--r--lib/termsupport.zsh2
1 files changed, 1 insertions, 1 deletions
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