2ac69955e84d5ab2407e848275dfc2768b3b1531

Author
Kevin De Keyser <dekeyser.kevin97@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

fix(termsupport): ensure non-error return code (#13217)

Diff

 1diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh
 2index 994c9c3220b53db02078a19deabb3dc56e3cc131..852a543c5fb96a77151dd1c0519f5406e5bc4158 100644
 3--- a/lib/termsupport.zsh
 4+++ b/lib/termsupport.zsh
 5@@ -53,7 +53,7 @@ function omz_termsupport_precmd {
 6 
 7 # Runs before executing the command
 8 function omz_termsupport_preexec {
 9-  [[ "${DISABLE_AUTO_TITLE:-}" != true ]] || return
10+  [[ "${DISABLE_AUTO_TITLE:-}" != true ]] || return 0
11 
12   emulate -L zsh
13   setopt extended_glob