mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-18 20:00:07 +00:00
5 lines
333 B
Bash
5 lines
333 B
Bash
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}["
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%} "
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[red]%} x%{$fg_bold[blue]%}"
|
|
|
|
PROMPT='%{$(git_prompt_info)%}%{$fg_bold[green]%}{%{$(rvm current 2>/dev/null || rbenv version-name 2>/dev/null)%}}%{$reset_color%} %{$fg[cyan]%}%c%{$reset_color%} '
|