churchyard / rpms / byobu

Forked from rpms/byobu 2 years ago
Clone
17f12e5
--- usr/share/byobu/profiles/bashrc
17f12e5
+++ usr/share/byobu/profiles/bashrc
17f12e5
@@ -24,7 +24,7 @@ case "$TERM" in
17f12e5
 esac
17f12e5
 if [ -n "$TMUX" ] || [ "${TERMCAP#*screen}" != "${TERMCAP}" ]; then
17f12e5
 	# Ensure that we're in bash, in a byobu environment
17f12e5
-	if [ -n "$BYOBU_BACKEND" ] && [ "$SHELL" = "/bin/bash" ]; then
17f12e5
+	if [ -n "$BYOBU_BACKEND" ] && [ -n "$BASH" ]; then
17f12e5
 		byobu_prompt_status() { local e=$?; [ $e != 0 ] && echo -e "$e "; }
17f12e5
 		case "$BYOBU_DISTRO" in
17f12e5
 			"Ubuntu")
17f12e5
--