* usr/bin/byobu-status:

- clear first window name
This commit is contained in:
Dustin Kirkland 2012-02-15 22:10:52 -06:00
commit 4936c21da5
2 changed files with 13 additions and 0 deletions

4
debian/changelog vendored
View file

@ -4,6 +4,10 @@ byobu (5.11) unreleased; urgency=low
* usr/bin/byobu-reconnect-sockets, usr/bin/byobu-select-session: LP: #924545
- add to the list of environment variables to update on reconnect
[ Dustin Kirkland ]
* usr/bin/byobu-status:
- clear first window name
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 14 Feb 2012 14:37:49 -0600
byobu (5.10-0ubuntu1) precise; urgency=low

View file

@ -42,6 +42,15 @@ if [ -e "/var/run/screen/S-$USER/$PKG.reload-required" ] || [ -e "$BYOBU_RUN_DIR
fi
fi
# Do first-run procedures, if necessary
if [ -n "$TMUX" ]; then
if [ ! -e "$BYOBU_RUN_DIR/${TMUX#*,}" ]; then
# Clear initial window name
tmux rename-window ""
touch "$BYOBU_RUN_DIR/${TMUX#*,}"
fi
fi
# Get the current timestamp
get_now; NOW=${_RET}