mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 05:53:22 -07:00
* usr/bin/byobu.in:
- Don't pollute output with title if calling from script - https://github.com/dustinkirkland/byobu/pull/6
This commit is contained in:
parent
6f686a2125
commit
96f8e5e81b
2 changed files with 11 additions and 4 deletions
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -6,6 +6,11 @@ byobu (5.88) unreleased; urgency=medium
|
|||
variables as commands (fish shell being one of those)
|
||||
- Use `sh -c` to explicitly use a POSIX shell to interpret the command
|
||||
|
||||
[ dmayle ]
|
||||
* usr/bin/byobu.in:
|
||||
- Don't pollute output with title if calling from script
|
||||
- https://github.com/dustinkirkland/byobu/pull/6
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 30 Sep 2014 08:38:40 -0500
|
||||
|
||||
byobu (5.87-0ubuntu1) utopic; urgency=medium
|
||||
|
|
|
@ -93,10 +93,12 @@ fi
|
|||
# Sanitize the environment
|
||||
byobu-janitor --force
|
||||
|
||||
# Set the window title
|
||||
[ -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"
|
||||
# Set the window title if this is a TTY
|
||||
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"
|
||||
fi
|
||||
|
||||
# Drop a symlink to the ssh socket in $HOME, since we can ensure that exists
|
||||
if [ -S "$SSH_AUTH_SOCK" ] && [ ! -h "$SSH_AUTH_SOCK" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue