mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
bin/byobu, bin/byobu-janitor, share/byobu/profiles/byoburc: add support
for different window sets, LP: #517796
This commit is contained in:
parent
d673c49c96
commit
28aab33ec7
4 changed files with 5 additions and 0 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -2,6 +2,8 @@ byobu (2.74) unreleased; urgency=low
|
|||
|
||||
* usr/lib/byobu/disk_io: fix regex to support RAID devices, LP: #572855
|
||||
* debian/postinst: make debconf question failsafe, LP: #569041
|
||||
* bin/byobu, bin/byobu-janitor, share/byobu/profiles/byoburc: add support
|
||||
for different window sets, LP: #517796
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 28 Apr 2010 23:11:14 -0500
|
||||
|
||||
|
|
|
@ -40,6 +40,7 @@ printf "\033]0;${USER}@$(hostname) - ${PKG}\007"
|
|||
|
||||
# Launch motd+shell, unless the user has default windows set to launch
|
||||
grep -qs "^[^#]" "$HOME/.$PKG/windows" && DEFAULT_WINDOW= || DEFAULT_WINDOW="motd+shell"
|
||||
[ -r "$BYOBU_WINDOWS" ] && cat "$BYOBU_WINDOWS" > "$HOME/.$PKG/.windows-tmp"
|
||||
|
||||
# Check if our terminfo supports 256 colors
|
||||
[ -x /usr/bin/tput ] && [ $(/usr/bin/tput colors 2>/dev/null || echo 0) -eq 256 ] && SCREEN_TERM="-T screen-256color"
|
||||
|
|
|
@ -90,6 +90,7 @@ fi
|
|||
[ -r "$HOME/.$PKG/status" ] || $(grep -A 999999 BEGIN_CUT_HERE /etc/$PKG/statusrc | grep -B 999999 END_CUT_HERE | grep -v CUT > "$HOME/.$PKG/status")
|
||||
[ -r "$HOME/.$PKG/windows" ] || touch "$HOME/.$PKG/windows"
|
||||
[ -r "$HOME/.screenrc" ] || touch "$HOME/.screenrc"
|
||||
echo > "$HOME/.$PKG/.windows-tmp"
|
||||
|
||||
# Affects: Upgrades from <= byobu-2.11
|
||||
# The status scripts used to have hyphens in their name, but now use
|
||||
|
|
|
@ -21,4 +21,5 @@
|
|||
|
||||
source $HOME/.byobu/profile
|
||||
source $HOME/.byobu/windows
|
||||
source $HOME/.byobu/.windows-tmp
|
||||
source $HOME/.screenrc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue