colors and set them in ~/.byobu/colors; ensure that profile gets linked

to the common one
This commit is contained in:
Dustin Kirkland 2009-12-07 09:53:59 -06:00
commit 33078b953b
2 changed files with 4 additions and 2 deletions

View file

@ -60,6 +60,7 @@ fi
# Seed the configuration
[ -d "$HOME/.$PKG" ] || mkdir -p "$HOME/.$PKG"
byobu-select-profile -b W -f k >/dev/null 2>&1
[ -r "$HOME/.$PKG/profile" ] || ln -sf /usr/share/$PKG/profiles/common "$PROFILE"
# Affects: Symlinks pointing to color profiles
if [ -h "$PROFILE" ] && \
@ -88,8 +89,8 @@ if [ -h "$PROFILE" ] && \
esac
byobu-select-profile -b $BG -f $FG >/dev/null 2>&1
rm -f "$PROFILE" 2>/dev/null
ln -s /usr/share/$PKG/profiles/common "$PROFILE"
fi
[ -s "$HOME/.$PKG/keybindings" ] || echo "source /usr/share/$PKG/keybindings/common" > "$HOME/.$PKG/keybindings"
[ -r "$HOME/.$PKG/status" ] || touch "$HOME/.$PKG/status"
[ -r "$HOME/.$PKG/windows" ] || touch "$HOME/.$PKG/windows"

3
debian/changelog vendored
View file

@ -33,7 +33,8 @@ byobu (2.40) unreleased; urgency=low
rpm/byobu.spec: get rid of the generated profiles; now, everything is
handled by FOREGROUND and BACKGROUND colors, dynamically
* byobu-janitor: clean up old ~/.byobu/profile symlinks; guess the user's
colors and set them in ~/.byobu/colors
colors and set them in ~/.byobu/colors; ensure that profile gets linked
to the common one
* byobu-select-profile, byobu-select-profile.1: deprecate the --set
option, only support --background and --foreground now; update the
documentation