2018-08-08 02:42:02 +08:00
|
|
|
|
# ZSH Theme - Preview: https://i.gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png
|
2009-12-12 17:06:46 +08:00
|
|
|
|
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
|
|
|
|
|
2015-11-07 06:20:11 +08:00
|
|
|
|
PROMPT='%{$fg[green]%}%~%{$reset_color%} $(ruby_prompt_info) $(git_prompt_info)%{$reset_color%}%B$%b '
|
|
|
|
|
RPROMPT="${return_code}"
|
2009-12-12 17:06:46 +08:00
|
|
|
|
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
|
2010-05-14 04:42:24 +08:00
|
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"
|
2015-11-07 06:20:11 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ZSH_THEME_RUBY_PROMPT_PREFIX="%{$fg[red]%}‹"
|
|
|
|
|
ZSH_THEME_RUBY_PROMPT_SUFFIX="› %{$reset_color%}"
|