The problem I think is with this line in /etc/skel/.bashrc case "$TERM" in xterm*|rxvt*) PROMPT_COMMAND+='; echo -ne "\033]0;[EMAIL PROTECTED]: ${PWD/$HOME/~}\007"' ;; *) ;; esac
Which I believe makes this a bug in bash, I managed to produce a fix: case "$TERM" in xterm*|rxvt*) PROMPT_COMMAND+='; echo -ne "\033]0;[EMAIL PROTECTED]: "; ([[ "$PWD" == "$HOME" || "${PWD:0:(( ${#HOME} + 1))}" == "$HOME/" ]] && echo "${PWD/$HOME/~}" || echo "$PWD"); echo -ne "\007"' ;; *) ;; esac There might be a better way but this works for me. -- gnome terminal ~ replacement https://bugs.launchpad.net/bugs/210405 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs