1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-10-23 13:03:44 +08:00

fix(screen): respect DISABLE_AUTO_TITLE (#6524)

Co-authored-by: Robby Russell <robby@planetargon.com>
This commit is contained in:
cono
2026-09-14 22:32:24 +03:00
committed by GitHub
parent aea374f522
commit e995678ca8

View File

@@ -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'\\\