From e995678ca8ce65e8e06f7c89d120cf2c02cb5399 Mon Sep 17 00:00:00 2001 From: cono Date: Mon, 14 Sep 2026 22:32:24 +0300 Subject: [PATCH] fix(screen): respect `DISABLE_AUTO_TITLE` (#6524) Co-authored-by: Robby Russell --- plugins/screen/screen.plugin.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/screen/screen.plugin.zsh b/plugins/screen/screen.plugin.zsh index 375d8750a..1cd6467a8 100644 --- a/plugins/screen/screen.plugin.zsh +++ b/plugins/screen/screen.plugin.zsh @@ -34,6 +34,8 @@ if [[ "$TERM" == screen* ]]; then # tell GNU screen what the tab window title ($1) and the hardstatus($2) should be function screen_set() { + [[ "${DISABLE_AUTO_TITLE:-}" != true ]] || return 0 + # set the tab window title (%t) for screen print -nR $'\033k'$1$'\033'\\\