From d8f56a51daeacb7a46c3318c9eb3df5af9e473e0 Mon Sep 17 00:00:00 2001 From: Theunis Johannes Botha Date: Thu, 9 Feb 2017 01:02:47 +0100 Subject: [PATCH] me --- bashrc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bashrc b/bashrc index aff9e9f..972a70d 100644 --- a/bashrc +++ b/bashrc @@ -56,17 +56,16 @@ fi GIT_PS1_SHOWDIRTYSTATE=true if [ "$color_prompt" = yes ]; then - PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\][\D{%d}] \A\[\033[1;31m\] \u@\h \[\033[01;32m\]C:\w>\[\033[00m\]\[\033[0;33m\]$(__git_ps1)\[\033[00m\] \$ ' + PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\][\D{%d}] \A\[\033[1;31m\] \u@\h \[\033[01;32m\]-=\[\033[00m\]\[\033[0;33m\]$(__git_ps1)\[\033[00m\] \$ ' else - PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\][\D{%d}] \A\[\033[1;31m\] \u@\h \[\033[01;32m\]C:\w>\[\033[00m\]\[\033[0;33m\]$(__git_ps1)\[\033[00m\] \$ ' + PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\][\D{%d}] \A\[\033[1;31m\] \u@\h \[\033[01;32m\]-=\[\033[00m\]\[\033[0;33m\]$(__git_ps1)\[\033[00m\] \$ ' fi unset color_prompt force_color_prompt # If this is an xterm set the title to user@host:dir case "$TERM" in xterm*|rxvt*) - PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\][\D{%d}] \A\[\033[1;31m\] \u@\h \[\033[01;32m\]C:\w>\[\033[00m\]\[\033[0;33m\]$(__git_ps1)\[\033[00m\] \$ ' - # PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" + PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\][\D{%d}] \A\[\033[1;31m\] \u@\h \[\033[01;32m\]-=\[\033[00m\]\[\033[0;33m\]$(__git_ps1)\[\033[00m\] \$ ' ;; *) ;;