* usr/bin/byobu-enable-prompt, usr/bin/byobu-janitor:

- enable the new byobu colored prompt by default, on new logins
This commit is contained in:
Dustin Kirkland 2013-08-03 15:16:11 -05:00
commit 87c30f5d37
3 changed files with 4 additions and 1 deletions

2
debian/changelog vendored
View file

@ -13,6 +13,8 @@ byobu (5.51) unreleased; urgency=low
- use a ~/.byobu/prompt file as a redirect, and to enable
end user customizations
- fix a bash error
* usr/bin/byobu-enable-prompt, usr/bin/byobu-janitor:
- enable the new byobu colored prompt by default, on new logins
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 02 Aug 2013 17:30:11 -0500

View file

@ -26,7 +26,7 @@ PKG="byobu"
prompt="${BYOBU_CONFIG_DIR}/prompt"
[ -e "$prompt" ] || printf ". ${BYOBU_PREFIX}/share/${PKG}/profiles/bashrc #byobu-prompt#\n" > "$prompt"
printf ". ${BYOBU_PREFIX}/share/${PKG}/profiles/bashrc #byobu-prompt#\n" > "$prompt"
$PKG-disable-prompt --no-reload "$1" || true
printf "[ -r $prompt ] && . $prompt #byobu-prompt#\n" >> "$HOME/.bashrc"

View file

@ -72,6 +72,7 @@ MC=0
[ -r "$BYOBU_CONFIG_DIR/profile.tmux" ] || echo "source \$BYOBU_PREFIX/share/$PKG/profiles/tmux" > "$BYOBU_CONFIG_DIR/profile.tmux"
[ -r "$BYOBU_CONFIG_DIR/keybindings" ] || echo "source \$BYOBU_PREFIX/share/$PKG/keybindings/common" > "$BYOBU_CONFIG_DIR/keybindings"
[ -r "$BYOBU_CONFIG_DIR/keybindings.tmux" ] || touch "$BYOBU_CONFIG_DIR/keybindings.tmux"
[ -r "$BYOBU_CONFIG_DIR/prompt" ] || echo ". ${BYOBU_PREFIX}/share/${PKG}/profiles/bashrc #byobu-prompt#\n" > "$BYOBU_CONFIG_DIR/prompt"
[ -r "$BYOBU_CONFIG_DIR/windows" ] || touch "$BYOBU_CONFIG_DIR/windows"
[ -r "$BYOBU_CONFIG_DIR/backend" ] || echo "BYOBU_BACKEND=$BYOBU_BACKEND" > "$BYOBU_CONFIG_DIR/backend"
[ -r "$HOME/.screenrc" ] || touch "$HOME/.screenrc"