mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 07:12:13 +08:00
parent
ee46d198ad
commit
a1a63f4c7d
|
@ -1,5 +1,10 @@
|
||||||
PROMPT='%m %B%F{blue}:: %b%F{green}%3~ $(git_prompt_info)%B%(!.%F{red}.%F{blue})»%f%b '
|
PROMPT='%m %B%F{blue}:: %b%F{green}%3~ $(hg_prompt_info)$(git_prompt_info)%B%(!.%F{red}.%F{blue})»%f%b '
|
||||||
RPS1='%(?..%F{red}%? ↵%f)'
|
RPS1='%(?..%F{red}%? ↵%f)'
|
||||||
|
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"
|
ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"
|
||||||
|
|
||||||
|
ZSH_THEME_HG_PROMPT_PREFIX="%{$fg[magenta]%}hg:‹%{$fg[yellow]%}"
|
||||||
|
ZSH_THEME_HG_PROMPT_SUFFIX="%{$fg[magenta]%}› %{$reset_color%}"
|
||||||
|
ZSH_THEME_HG_PROMPT_DIRTY=" %{$fg[red]%}✗"
|
||||||
|
ZSH_THEME_HG_PROMPT_CLEAN=""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user