mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* usr/bin/byobu.in:
- add support for a BYOBU_ALT_TITLE variable, which enables users to set an alternate window title for their byobu session - https://github.com/dustinkirkland/byobu/pull/23
This commit is contained in:
parent
7640503f65
commit
b8550dd4b7
2 changed files with 8 additions and 1 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -10,6 +10,12 @@ byobu (5.123) unreleased; urgency=medium
|
|||
- use iw and ip rather than ifconfig and iwconfig, which are deprecated
|
||||
- https://github.com/dustinkirkland/byobu/pull/24
|
||||
|
||||
[ Javier Merino ]
|
||||
* usr/bin/byobu.in:
|
||||
- add support for a BYOBU_ALT_TITLE variable, which enables users to
|
||||
set an alternate window title for their byobu session
|
||||
- https://github.com/dustinkirkland/byobu/pull/23
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 17 Aug 2017 18:44:26 -0500
|
||||
|
||||
byobu (5.122-0ubuntu1) artful; urgency=medium
|
||||
|
|
|
@ -100,7 +100,8 @@ byobu-janitor --force
|
|||
if [ -t 1 ]; then
|
||||
[ -r "$BYOBU_CONFIG_DIR/statusrc" ] && . "$BYOBU_CONFIG_DIR/statusrc"
|
||||
. $BYOBU_PREFIX/lib/$PKG/ip_address
|
||||
[ -n "$BYOBU_NO_TITLE" ] || printf "\033]0;${USER}@$(hostname) ($(__ip_address t)) - ${PKG}\007"
|
||||
BYOBU_TITLE=${BYOBU_ALT_TITLE:-'${USER}@${HOSTNAME:-$(hostname)} ($(__ip_address t)) - ${PKG}'}
|
||||
[ -n "$BYOBU_NO_TITLE" ] || eval printf \"\\033\]0\;${BYOBU_TITLE}\\007\"
|
||||
fi
|
||||
|
||||
# Drop a symlink to the ssh socket in $HOME, since we can ensure that exists
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue