From ee55d830dad96668dddb0fc54284e53eb9343ccf Mon Sep 17 00:00:00 2001 From: Arminius Silvanus Date: Sat, 15 Feb 2014 10:19:03 +0100 Subject: [PATCH] Fixed bash env var check --- usr/share/byobu/profiles/bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/share/byobu/profiles/bashrc b/usr/share/byobu/profiles/bashrc index 9f64427..52cb1e9 100644 --- a/usr/share/byobu/profiles/bashrc +++ b/usr/share/byobu/profiles/bashrc @@ -24,7 +24,7 @@ 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" ] && [ "$SHELL" = "/bin/bash" ]; then + if [ -n "$BYOBU_BACKEND" ] && [ -n "$BASH" ]; then byobu_prompt_status() { local e=$?; [ $e != 0 ] && echo -e "$e "; } case "$BYOBU_DISTRO" in "Ubuntu") -- 1.8.5.4