]> git.wh0rd.org - home.git/commitdiff
PS1: reset graphics map on each prompt
authorMike Frysinger <vapier@gentoo.org>
Mon, 25 Sep 2017 17:58:10 +0000 (13:58 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 25 Sep 2017 17:58:10 +0000 (13:58 -0400)
.profile.d/PS1.sh

index 6407b9322304f7f0ec56d78772c646506388c3db..c0aa6d91c5a8bbef3bb5ca40c1a4ebc340ce8653 100644 (file)
@@ -1,6 +1,6 @@
 if [ "${TERM}" != "dumb" ] ; then
        # Set the terminal's window title.
-       PS1='\[\e]0;\u@\h \w\007\]'
+       PS1='\[\e(B\017\e]0;\u@\h \w\007\]'
        if [ -n "${SDK_VERSION}" ] ; then
                PS1+="(sdk ${SDK_BOARD} ${SDK_VERSION}) "
        fi