back to \$ in prompt!
This commit is contained in:
parent
b53651728f
commit
a8a8307951
1 changed files with 5 additions and 5 deletions
10
bashrc
10
bashrc
|
@ -67,11 +67,11 @@ prompt_command()
|
|||
prompt_user="${pnred}\u${preset} "
|
||||
fi
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
color_bang="${pnred}"
|
||||
bang="${pnred}#"
|
||||
else
|
||||
color_bang="${pbold}"
|
||||
bang="${pbold}$"
|
||||
fi
|
||||
PS1="[ ${prompt_user}${HOSTNAME}:${pbold}\w${preset} ]${newline}${color_bang}>${preset} "
|
||||
PS1="[ ${prompt_user}${HOSTNAME}:${pbold}\w${preset} ]${newline}${bang}${preset} "
|
||||
}
|
||||
PROMPT_COMMAND=prompt_command
|
||||
# }}}
|
||||
|
@ -180,8 +180,8 @@ if [[ -n ${git_enabled} && -r ${git_prompt_path} ]]; then
|
|||
GIT_PROMPT_CONFLICTS="${pnred}x"
|
||||
GIT_PROMPT_STASHED="${pbmagenta}→"
|
||||
GIT_PROMPT_CLEAN="${pngreen}."
|
||||
GIT_PROMPT_END_USER="\n${pbold}>${preset} "
|
||||
GIT_PROMPT_END_ROOT="\n${pnred}>${preset} "
|
||||
GIT_PROMPT_END_USER="\n${pbold}\$${preset} "
|
||||
GIT_PROMPT_END_ROOT="\n${pnred}#${preset} "
|
||||
fi
|
||||
unset completion_path git_prompt_path
|
||||
# }}}
|
||||
|
|
Loading…
Reference in a new issue