From 4133348fa2dd0e4e9d8ed7af7127456ceda150bf Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Thu, 5 May 2011 21:04:13 -0400 Subject: [PATCH] * usr/bin/byobu: - enable users to disable the title printing at launch (helpful for those launching byobu detached from cron, e.g.) --- debian/changelog | 3 +++ usr/bin/byobu | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 71e090eb..440dacbb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -30,6 +30,9 @@ byobu (3.35c) unreleased; urgency=low - speed up the printscreen functionality - when running printscreen, open the result with the user's default viewer in a new window entitled PRINTSCREEN + * usr/bin/byobu: + - enable users to disable the title printing at launch (helpful for + those launching byobu detached from cron, e.g.) -- Dustin Kirkland Tue, 03 May 2011 12:11:10 -0500 diff --git a/usr/bin/byobu b/usr/bin/byobu index 2154cad2..d514a1b2 100755 --- a/usr/bin/byobu +++ b/usr/bin/byobu @@ -51,7 +51,7 @@ fi byobu-janitor --force # Set the window title -printf "\033]0;${USER}@$(hostname) - ${PKG}\007" +[ -z "$BYOBU_NO_TITLE" ] || printf "\033]0;${USER}@$(hostname) - ${PKG}\007" # Allow override of default window list, with BYOBU_WINDOWS environment variable CUSTOM_WINDOW_SET=0