# in the terminal title
case "$TERM" in
*rxvt*|screen*|*term*|vt100)
- OPS1+="\[\033]0;${_COMMON_PROMPT}\007\]"
+ OPS1="\[\033]0;${_COMMON_PROMPT}\007\]" # Set xterm title/icon
case "$TERM" in
screen*)
+ OPS1="\[\033P\033]0;${_COMMON_PROMPT}\007\033\\\\\]" # Set xterm title/icon under screen/tmux
OPS1+="\[\033k${_COMMON_PROMPT}\033\\\\\]" # Set screen/tmux caption
;;
esac