mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
updated colors in theme, showing hostname as well
This commit is contained in:
parent
b58361399c
commit
4511e86bc4
1 changed files with 2 additions and 2 deletions
|
|
@ -42,8 +42,8 @@ ZSH_THEME_GIT_PROMPT_UNTRACKED=" %{$GREEN%}unt"
|
|||
|
||||
# Prompt format
|
||||
|
||||
if [ $UID -eq 0 ]; then CARETCOLOR="red"; else CARETCOLOR="blue"; fi
|
||||
if [ $UID -eq 0 ]; then CARETCOLOR="red"; else CARETCOLOR="green"; fi
|
||||
|
||||
PROMPT='%{${BLUE}%}%n%{$RESET_COLOR%}:%{${GREEN}%}%3~$(parse_git_dirty)$(git_prompt_ahead) %{${fg_bold[$CARETCOLOR]}%}%#%{${RESET_COLOR}%} '
|
||||
PROMPT='%{${GREEN}%}%n%{$RESET_COLOR%}:%{${YELLOW}%}%m%{${BLUE}%}%3~$(parse_git_dirty)$(git_prompt_ahead) %{${fg_bold[$CARETCOLOR]}%}%#%{${RESET_COLOR}%} '
|
||||
|
||||
RPROMPT='%{$RED%}$(current_branch)$(git_prompt_status)%{$RESET_COLOR%}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue