mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-24 21:49:56 +08:00
10 lines
339 B
Bash
10 lines
339 B
Bash
PROMPT='%{$fg[green]%} %% '
|
|
# RPS1='%{$fg[blue]%}%~%{$reset_color%} '
|
|
RPS1='%{$fg[white]%}%2~$(git_prompt_info) %{$fg_bold[blue]%}%m%{$reset_color%}'
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX=" (%{$fg[yellow]%}"
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}"
|
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%} ⚡%{$fg[yellow]%}"
|
|
|