mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 23:08:00 +00:00
improvements to the 'clean' theme
This commit is contained in:
parent
d084c5a1cd
commit
603ef440c5
@ -1,4 +1,6 @@
|
|||||||
PROMPT='%n:%{$fg[blue]%}%B%c%b%{$reset_color%} $(git_prompt_info)%(!.#.$) '
|
if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="white"; fi
|
||||||
|
|
||||||
|
PROMPT='%{$fg[$NCOLOR]%}%n%{$reset_color%}:%{$fg[blue]%}%B%c/%b%{$reset_color%} $(git_prompt_info)%(!.#.$) '
|
||||||
RPROMPT='[%*]'
|
RPROMPT='[%*]'
|
||||||
|
|
||||||
# git theming
|
# git theming
|
||||||
|
Loading…
Reference in New Issue
Block a user