mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
improvements to the 'clean' theme
This commit is contained in:
1 parent
5149679f86
commit
9658449450
1 file changed
+3
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user