make hostname green in prompt
This commit is contained in:
parent
2055b2ee89
commit
40ac92ec17
2
.zshrc
2
.zshrc
|
@ -14,7 +14,7 @@ export LANG=en_US.UTF-8
|
||||||
|
|
||||||
export EDITOR='vim'
|
export EDITOR='vim'
|
||||||
|
|
||||||
PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[green]%}) %{%F{24}%}(%m) %(!.%1~.%~) $(git_prompt_info)%_$(prompt_char)%{$reset_color%} '
|
PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[green]%})(%m)%{%F{24}%} %(!.%1~.%~) $(git_prompt_info)%_$(prompt_char)%{$reset_color%} '
|
||||||
|
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="("
|
ZSH_THEME_GIT_PROMPT_PREFIX="("
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX=") "
|
ZSH_THEME_GIT_PROMPT_SUFFIX=") "
|
||||||
|
|
Loading…
Reference in New Issue