mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Modify style
This commit is contained in:
parent
73ac7c28c4
commit
57d01841ba
1 changed files with 4 additions and 4 deletions
|
|
@ -5,17 +5,17 @@ setopt promptsubst
|
||||||
|
|
||||||
autoload -U add-zsh-hook
|
autoload -U add-zsh-hook
|
||||||
|
|
||||||
HOST_PROMPT_="%B%{$FG[197]%}@$HOST %b"
|
HOST_PROMPT_="%B%{$FG[161]%}@$HOST %b"
|
||||||
|
|
||||||
PROMPT_SUCCESS_COLOR=$FG[077]
|
PROMPT_SUCCESS_COLOR=$FG[077]
|
||||||
PROMPT_FAILURE_COLOR=$FG[124]
|
PROMPT_FAILURE_COLOR=$FG[124]
|
||||||
PROMPT_VCS_INFO_COLOR=$FG[242]
|
PROMPT_VCS_INFO_COLOR=$FG[242]
|
||||||
PROMPT_PROMPT=$FG[077]
|
PROMPT_PROMPT=$FG[077]
|
||||||
GIT_DIRTY_COLOR=$FG[197]
|
GIT_DIRTY_COLOR=$FG[161]
|
||||||
GIT_CLEAN_COLOR=$FG[118]
|
GIT_CLEAN_COLOR=$FG[118]
|
||||||
GIT_PROMPT_INFO=$FG[197]
|
GIT_PROMPT_INFO=$FG[161]
|
||||||
|
|
||||||
PROMPT='$HOST_PROMPT_%{$PROMPT_SUCCESS_COLOR%}%~%{$reset_color%} %B%{$GIT_PROMPT_INFO%}$(git_prompt_info)%{$GIT_DIRTY_COLOR%}$(git_prompt_status)%b %{$reset_color%}%{$PROMPT_PROMPT%}➭%{$reset_color%} '
|
PROMPT='$HOST_PROMPT_%B%{$PROMPT_SUCCESS_COLOR%}%~%{$reset_color%} %B%{$GIT_PROMPT_INFO%}$(git_prompt_info)%{$GIT_DIRTY_COLOR%}$(git_prompt_status)%b %{$reset_color%}%{$PROMPT_PROMPT%}➭%{$reset_color%} '
|
||||||
|
|
||||||
RPROMPT='[%*]'
|
RPROMPT='[%*]'
|
||||||
#RPS1="${return_code}"
|
#RPS1="${return_code}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue