From 87c30f5d3752530db14666096fc366f4ed1813ef Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Sat, 3 Aug 2013 15:16:11 -0500 Subject: [PATCH] * usr/bin/byobu-enable-prompt, usr/bin/byobu-janitor: - enable the new byobu colored prompt by default, on new logins --- debian/changelog | 2 ++ usr/bin/byobu-enable-prompt | 2 +- usr/bin/byobu-janitor | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index cc99c51e..2a68124c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Fri, 02 Aug 2013 17:30:11 -0500 diff --git a/usr/bin/byobu-enable-prompt b/usr/bin/byobu-enable-prompt index 192bb61a..06382cd3 100755 --- a/usr/bin/byobu-enable-prompt +++ b/usr/bin/byobu-enable-prompt @@ -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" diff --git a/usr/bin/byobu-janitor b/usr/bin/byobu-janitor index 86444af4..7b190607 100755 --- a/usr/bin/byobu-janitor +++ b/usr/bin/byobu-janitor @@ -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"