diff --git a/bash/.bashrc b/bash/.bashrc index 7f2c616..37acc9a 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -48,7 +48,7 @@ esac # uncomment for a colored prompt, if the terminal has the capability; turned # off by default to not distract the user: the focus in a terminal window # should be on the output of commands, not on the prompt -#force_color_prompt=yes +force_color_prompt=yes if [ -n "$force_color_prompt" ]; then if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then @@ -92,7 +92,7 @@ if [ "$color_prompt" = yes ]; then # git in bash PROMPT_COMMAND='__git_ps1_new "'$PS1FRONT'" "'$PS1BACK'";' else - PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' + PS1="$RS${debian_chroot:+($debian_chroot)}\u@\h:\w\$ " PS2="> " fi unset color_prompt force_color_prompt diff --git a/profile/.profile b/profile/.profile index 3871890..93bbc73 100644 --- a/profile/.profile +++ b/profile/.profile @@ -8,9 +8,6 @@ # for ssh logins, install and configure the libpam-umask package. #umask 022 -# set TERM to xterm-color to allow colors in the terminal -TERM=xterm-color - # if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists