* usr/bin/byobu:

- handle the backend better
This commit is contained in:
Dustin Kirkland 2013-11-08 12:11:37 -06:00
commit c124341758
2 changed files with 3 additions and 0 deletions

2
debian/changelog vendored
View file

@ -2,6 +2,8 @@ byobu (5.64) unreleased; urgency=low
* usr/share/byobu/profiles/bashrc: * usr/share/byobu/profiles/bashrc:
- adjust whitespace - adjust whitespace
* usr/bin/byobu:
- handle the backend better
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 07 Nov 2013 11:55:15 -0600 -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 07 Nov 2013 11:55:15 -0600

View file

@ -52,6 +52,7 @@ export BYOBU_CHARMAP=$(locale charmap)
. "${BYOBU_PREFIX}/lib/${PKG}/include/common" . "${BYOBU_PREFIX}/lib/${PKG}/include/common"
# Override backend if we can determine intentions from argv[0] # Override backend if we can determine intentions from argv[0]
[ -r "$HOME/.$PKG/backend" ] && . "$HOME/.$PKG/backend"
case "$0" in case "$0" in
*byobu-screen) BYOBU_BACKEND="screen" ;; *byobu-screen) BYOBU_BACKEND="screen" ;;
*byobu-tmux) BYOBU_BACKEND="tmux" ;; *byobu-tmux) BYOBU_BACKEND="tmux" ;;