Skip to content

Commit ad32052

Browse files
support ash for colorized prompt
1 parent 18467ff commit ad32052

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

debian/changelog

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ byobu (6.3) jammy; urgency=medium
44
- within Wolfi, default to our 2nd status line
55
* usr/lib/byobu/updates_available:
66
- silence apk update
7+
* usr/share/byobu/profiles/bashrc:
8+
- support ash for colorized prompt
79

8-
-- Dustin Kirkland <[email protected]> Tue, 02 Jan 2024 19:09:57 -0600
10+
-- Dustin Kirkland <[email protected]> Tue, 02 Jan 2024 19:22:05 -0600
911

1012
byobu (6.2) released; urgency=medium
1113

usr/share/byobu/profiles/bashrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ case "$TERM" in
2424
;;
2525
esac
2626
if [ -n "$TMUX" ] || [ "${TERMCAP#*screen}" != "${TERMCAP}" ]; then
27-
# Ensure that we're in bash, in a byobu environment
28-
if [ -n "$BYOBU_BACKEND" ] && [ -n "$BASH" ]; then
27+
# Ensure that we're in bash or ash, in a byobu environment
28+
if [ -n "$BYOBU_BACKEND" ] && [ -n "$BASH" ] || [ "$SHELL" = "/bin/ash" ]; then
2929
byobu_prompt_status() { local e=$?; [ $e != 0 ] && echo -e " $e "; }
3030
[ -n "$BYOBU_CHARMAP" ] || BYOBU_CHARMAP=$(locale charmap 2>/dev/null || echo)
3131
byobu_prompt_symbol() {

0 commit comments

Comments
 (0)