Bugfix : No more yellow color while being root

This commit is contained in:
Luc Didry 2012-08-14 20:23:27 +02:00 committed by nojhan
parent a2af9a0b4a
commit 2774c8fc37
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ then
LP_PS1="${LP_PS1}${LP_GIT}${LP_HG}${LP_SVN}"
else
# path in yellow
LP_PS1="${LP_PS1}${LP_PATH_ROOT}${LP_PWD}${NO_COL}]${LP_COLOR_PROXY}${LP_PROXY}${NO_COL}"
LP_PS1="${LP_PS1}${LP_COLOR_PATH_ROOT}${LP_PWD}${NO_COL}]${LP_COLOR_PROXY}${LP_PROXY}${NO_COL}"
# do not add VCS infos
fi
# add return code and prompt mark

View File

@ -949,7 +949,7 @@ _lp_set_bash_prompt()
PS1="${PS1}${LP_GIT}${LP_HG}${LP_SVN}"
else
# path in yellow
PS1="${PS1}${LP_PATH_ROOT}${LP_PWD}${NO_COL}]${LP_COLOR_PROXY}${LP_PROXY}${NO_COL}"
PS1="${PS1}${LP_COLOR_PATH_ROOT}${LP_PWD}${NO_COL}]${LP_COLOR_PROXY}${LP_PROXY}${NO_COL}"
# do not add VCS infos
fi
# add return code and prompt mark