1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-11-04 05:01:17 +08:00

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

This commit is contained in:
Kevin De Keyser 2025-07-21 17:11:35 +08:00 committed by GitHub
parent 8425e9774e
commit 2ac69955e8
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