Skip to content

Commit

Permalink
support ash for colorized prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinkirkland committed Jan 3, 2024
1 parent 18467ff commit ad32052
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]> Tue, 02 Jan 2024 19:09:57 -0600
-- Dustin Kirkland <[email protected]> Tue, 02 Jan 2024 19:22:05 -0600

byobu (6.2) released; urgency=medium

Expand Down
4 changes: 2 additions & 2 deletions usr/share/byobu/profiles/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit ad32052

Please sign in to comment.