X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.profile.d%2Fprompt.bashrc;h=da94e9713961f88393172d8c7753cde0270e0d7e;hp=2145c225b89f2f297bab5652f49fd634f44dc823;hb=094bc317ad7d7907a5c87477530db4d24bf1c534;hpb=f00d519dd073659e3a079be65c57d5b64cb60a69 diff --git a/.profile.d/prompt.bashrc b/.profile.d/prompt.bashrc index 2145c22..da94e97 100644 --- a/.profile.d/prompt.bashrc +++ b/.profile.d/prompt.bashrc @@ -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"'