mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-23 16:52:57 +08:00
10 lines
474 B
Bash
10 lines
474 B
Bash
if [[ -z $ZSH_THEME_CLOUD_PREFIX ]]; then
|
|
ZSH_THEME_CLOUD_PREFIX='☁'
|
|
fi
|
|
|
|
PROMPT='%{$fg_bold[cyan]%}$ZSH_THEME_CLOUD_PREFIX %{$fg_bold[green]%}%p %{$fg[green]%}%c %{$fg_bold[cyan]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}[%{$fg[cyan]%}"
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}] %{$fg[yellow]%}⚡%{$reset_color%}"
|
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}]" |