Append rather than replace terminal-overrides.
[profile.git] / .profile.d / prompt.bashrc
index 2145c22..da94e97 100644 (file)
@@ -30,7 +30,7 @@ if ps -o comm= -p $PPID 2>/dev/null | grep '^vim*$' &>/dev/null; then
   trap "echo -ne '\\033]0;$info\\033\\0134'" exit
   info="$info$vimchild"
 fi
-if [ "${TERM##screen}" = "$TERM" ]; then
+if [ "${TERM##screen}" = "$TERM" -o "${TERM%%-bce}" = "$TERM" ]; then
   PROMPT_COMMAND="echo -ne '\033]0;$info\033\0134\r\033[K'"
 else
   PROMPT_COMMAND='echo -ne "\033k\033\0134"'