All pastes #272756 Raw Edit

Something

public text v1 · immutable
·published 2006-12-09 06:42 UTC
rendered paste body
    case $TERM in
         xterm|screen)
            set -T
            trap 'echo -ne "\e]0;$BASH_COMMAND\a"' DEBUG
            PROMPT_COMMAND='echo -ne "\e]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\a"'
         ;;
    esac


My title changes perfectly, however my prompt always has a leading ", no matter what:
"zgold@BlueSata ~ $