new prompt for bash as well
This commit is contained in:
parent
fb52c2e0a1
commit
0e1cf6b209
1 changed files with 2 additions and 2 deletions
4
shellrc
4
shellrc
|
@ -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} "
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue