alanpeabody.zsh-theme 943 B

123456789101112131415161718192021222324
  1. local user='%{$fg[magenta]%}%n@%{$fg[magenta]%}%m%{$reset_color%}'
  2. local pwd='%{$fg[blue]%}%~%{$reset_color%}'
  3. local return_code='%(?..%{$fg[red]%}%? ↵%{$reset_color%})'
  4. local git_branch='$(git_prompt_status)%{$reset_color%}$(git_prompt_info)%{$reset_color%}'
  5. ZSH_THEME_RVM_PROMPT_OPTIONS="i v g"
  6. ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}"
  7. ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
  8. ZSH_THEME_GIT_PROMPT_DIRTY=""
  9. ZSH_THEME_GIT_PROMPT_CLEAN=""
  10. ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%} ✚"
  11. ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[blue]%} ✹"
  12. ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%} ✖"
  13. ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[magenta]%} ➜"
  14. ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[yellow]%} ═"
  15. ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[cyan]%} ✭"
  16. ZSH_THEME_RUBY_PROMPT_PREFIX="%{$fg[green]%}‹"
  17. ZSH_THEME_RUBY_PROMPT_SUFFIX="›%{$reset_color%}"
  18. PROMPT="${user} ${pwd}$ "
  19. RPROMPT="${return_code} ${git_branch} \$(ruby_prompt_info)"