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