mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
Colour of PS
This commit is contained in:
parent
91a679d4f3
commit
29e25eda9b
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="black"; fi
|
||||
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="yellow"; fi
|
||||
|
||||
PROMPT='%{$fg[$NCOLOR]%}%B%n%b%{$reset_color%}:%{$fg[blue]%}%B%c/%b%{$reset_color%} $(git_prompt_info)%(!.#.$) '
|
||||
RPROMPT='[%*]'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue