mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-27 15:30:15 +08:00
a1a63f4c7d
Closes #5992
11 lines
444 B
Bash
11 lines
444 B
Bash
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)'
|
||
|
||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
|
||
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=""
|