mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
update re5et theme
This commit is contained in:
parent
807338f7e5
commit
e90af35311
1 changed files with 7 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ if [ "$USER" = "root" ]; then CARETCOLOR="red"; else CARETCOLOR="magenta"; fi
|
|||
local return_code="%(?..%{$fg_bold[red]%}:( %?%{$reset_color%})"
|
||||
|
||||
PROMPT='
|
||||
%{$fg_bold[cyan]%}%n%{$reset_color%}%{$fg[yellow]%}@%{$reset_color%}%{$fg_bold[blue]%}%M%{$reset_color%}:%{${fg_bold[green]}%}%~%{$reset_color%}$(git_prompt_info)
|
||||
%{$fg_bold[cyan]%}%n%{$reset_color%}%{$fg[yellow]%}@%{$reset_color%}%{$fg_bold[yellow]%}%M%{$reset_color%}:%{${fg_bold[green]}%}%~%{$reset_color%}$(git_prompt_info)$(svn_prompt_info)
|
||||
%{${fg[$CARETCOLOR]}%}%# %{${reset_color}%}'
|
||||
|
||||
RPS1='${return_code} %D - %*'"$RPS1"
|
||||
|
|
@ -14,6 +14,12 @@ ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[red]%} ±"
|
|||
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[cyan]%} ?"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[red]%} ♥"
|
||||
|
||||
ZSH_THEME_SVN_PROMPT_PREFIX="%{$fg_bold[magenta]%} -svn- %{$reset_color%}%{$fg_bold[yellow]%}"
|
||||
ZSH_THEME_SVN_PROMPT_SUFFIX="%{$reset_color%}"
|
||||
ZSH_THEME_SVN_PROMPT_UNTRACKED="%{$fg[cyan]%} ?"
|
||||
ZSH_THEME_SVN_PROMPT_DIRTY="%{$fg_bold[red]%} ±"
|
||||
ZSH_THEME_SVN_PROMPT_CLEAN="%{$fg_bold[red]%} ♥"
|
||||
|
||||
#以下字符视为单词的一部分
|
||||
WORDCHARS='*?_-[]~=&;!#$%^(){}<>/\'
|
||||
#}}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue