usr/bin/byobu, usr/bin/byobu-janitor: move the print for window

title setting into byobu-janitor, which should ensure that it
gets run on F5/refresh operations
This commit is contained in:
Dustin Kirkland 2011-01-05 15:06:09 -06:00
commit eb440876d4
3 changed files with 6 additions and 3 deletions

3
debian/changelog vendored
View file

@ -1,6 +1,9 @@
byobu (3.21) unreleased; urgency=low
* usr/bin/byobu-select-profile: ensure that $DATA exists, LP: #697724
* usr/bin/byobu, usr/bin/byobu-janitor: move the print for window
title setting into byobu-janitor, which should ensure that it
gets run on F5/refresh operations
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 03 Jan 2011 11:44:19 -0600

View file

@ -46,9 +46,6 @@ fi
# Sanitize the environment
byobu-janitor --force
# Set window title until https://bugs.launchpad.net/bugs/338722 is fixed in screen
printf "\033]0;${USER}@$(hostname) - ${PKG}\007"
# Allow override of default window list, with BYOBU_WINDOWS environment variable
CUSTOM_WINDOW_SET=0
if [ -r "$BYOBU_WINDOWS" ]; then

View file

@ -27,6 +27,9 @@ XDG="$HOME/.local/share/$PKG"
RUN="$SOCKETDIR/S-$USER"
FLAG="$RUN/$PKG.reload-required"
# Set the window title
printf "\033]0;${USER}@$(hostname) - ${PKG}\007"
# Let's get prepped to switch over to XDG one day; maintain symlink for now
mkdir -p "$XDG"
if [ -d "$DATA" ] && [ ! -h "$DATA" ]; then