mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-30 06:03:40 +08:00
14 lines
588 B
Bash
14 lines
588 B
Bash
# zsh theme requires 256 color enabled terminal
|
|
# i.e TERM=xterm-256color
|
|
# Preview - http://www.flickr.com/photos/adelcampo/4556482563/sizes/o/
|
|
# based on robbyrussell's shell but louder!
|
|
|
|
PROMPT='%{$fg_bold[blue]%}$(git_prompt_info) %F{208}%c%f
|
|
%{$fg_bold[white]%}%# %{$reset_color%}'
|
|
RPROMPT='%B%F{208}%n%f%{$fg_bold[white]%}@%F{039}%m%f%{$reset_color%}'
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%F{154}±|%f%F{124}"
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
|
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}%B✘%b%F{154}|%f%{$reset_color%}"
|
|
ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✔%F{154}|"
|