mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 09:41:20 +08:00
9 lines
396 B
Bash
9 lines
396 B
Bash
PROMPT="%{${fg_bold[blue]}%}[ %{${fg[red]}%}%t %{${fg_bold[blue]}%}] %{${fg_bold[blue]}%} [ %{${fg[red]}%}%n@%m:%~\$(git_prompt_info)%{${fg[yellow]}%}\$(ruby_prompt_info)%{${fg_bold[blue]}%} ]%{$reset_color%}
|
|
$ "
|
|
|
|
# git theming
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{${fg_bold[green]}%}("
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}"
|
|
ZSH_THEME_GIT_PROMPT_CLEAN="✔"
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="✗"
|