macovsky.zsh-theme 472 B

123456789101112
  1. # ZSH Theme - Preview: https://i.gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png
  2. local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
  3. PROMPT='%{$fg[green]%}%~%{$reset_color%} $(ruby_prompt_info) $(git_prompt_info)%{$reset_color%}%B$%b '
  4. RPROMPT="${return_code}"
  5. ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
  6. ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"
  7. ZSH_THEME_RUBY_PROMPT_PREFIX="%{$fg[red]%}‹"
  8. ZSH_THEME_RUBY_PROMPT_SUFFIX="› %{$reset_color%}"