diff --git a/debian/changelog b/debian/changelog index ae59c6c5..e9fd9e45 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,8 +4,10 @@ byobu (6.3) jammy; urgency=medium - within Wolfi, default to our 2nd status line * usr/lib/byobu/updates_available: - silence apk update + * usr/share/byobu/profiles/bashrc: + - support ash for colorized prompt - -- Dustin Kirkland Tue, 02 Jan 2024 19:09:57 -0600 + -- Dustin Kirkland Tue, 02 Jan 2024 19:22:05 -0600 byobu (6.2) released; urgency=medium diff --git a/usr/share/byobu/profiles/bashrc b/usr/share/byobu/profiles/bashrc index c979fb69..986751de 100644 --- a/usr/share/byobu/profiles/bashrc +++ b/usr/share/byobu/profiles/bashrc @@ -24,8 +24,8 @@ case "$TERM" in ;; esac if [ -n "$TMUX" ] || [ "${TERMCAP#*screen}" != "${TERMCAP}" ]; then - # Ensure that we're in bash, in a byobu environment - if [ -n "$BYOBU_BACKEND" ] && [ -n "$BASH" ]; then + # Ensure that we're in bash or ash, in a byobu environment + if [ -n "$BYOBU_BACKEND" ] && [ -n "$BASH" ] || [ "$SHELL" = "/bin/ash" ]; then byobu_prompt_status() { local e=$?; [ $e != 0 ] && echo -e " $e "; } [ -n "$BYOBU_CHARMAP" ] || BYOBU_CHARMAP=$(locale charmap 2>/dev/null || echo) byobu_prompt_symbol() {