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