alanpeabody.zsh-theme 860 B

12345678910111213141516171819202122
  1. local user='%{$fg[magenta]%}%n@%{$fg[magenta]%}%m%{$reset_color%}'
  2. local pwd='%{$fg[blue]%}%~%{$reset_color%}'
  3. local rvm='%{$fg[green]%}‹$(rvm-prompt i v g)›%{$reset_color%}'
  4. local return_code='%(?..%{$fg[red]%}%? ↵%{$reset_color%})'
  5. local git_branch='$(git_prompt_status)%{$reset_color%}$(git_prompt_info)%{$reset_color%}'
  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. PROMPT="${user} ${pwd}$ "
  17. RPROMPT="${return_code} ${git_branch} ${rvm}"