1
0
Fork 0

new prompt for bash as well

This commit is contained in:
Von Random 2015-04-10 12:17:57 +03:00
parent fb52c2e0a1
commit 0e1cf6b209

View file

@ -305,7 +305,7 @@ else
rb="${byellow}]${reset}"
bb="${byellow} ${reset}"
prompt_host="$HOSTNAME"
prompt_bang="\\\$${reset}"
prompt_bang=">${reset}"
precmd() {
if [[ -z ${hide_info} ]]; then
prompt_cwd="${bwhite}${PWD}${reset}"
@ -321,7 +321,7 @@ else
if [[ $UID -eq 0 ]]; then
prompt_bang_color="${nred}"
else
prompt_bang_color="${ngreen}"
prompt_bang_color="${nwhite}"
fi
PS1="${prompt_info}${newline}${prompt_bang_color}${prompt_bang} "
}