mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-23 03:25:42 +08:00
7 lines
363 B
Bash
7 lines
363 B
Bash
PROMPT='[%{$fg_bold[white]%}%n%{$reset_color%}@%{$fg_bold[red]%}%m%{$reset_color%} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)%{$reset_color%}]$ '
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="(%{$fg_bold[green]%}"
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%} %{$fg[yellow]%}✗%{$reset_color%}"
|
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$reset_color%}"
|