reset .profile to original state, default force color to yes

This commit is contained in:
Tim
2015-11-08 17:18:29 +01:00
parent 0c9f1ec522
commit abe53a8d7e
2 changed files with 2 additions and 5 deletions

View File

@ -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