--- a/.bash_prompt Mon Jan 26 01:07:39 2015 +0800+++ b/.bash_prompt Mon Jan 26 01:08:12 2015 +0800@@ -31,13 +31,13 @@ if [[ $EUID == 0 ]] ; then local PROMPT_COLOR="$R"- + # getting hg and git info is disabled for root local HG_INFO=" ${P}-${RESET}" local GIT_INFO=" ${G}-${RESET}" else local PROMPT_COLOR="$G"- + case "$(_upsearch)" in 'hg') local HG_INFO=