jaischeema.zsh-theme 938 B

1234567891011121314151617181920212223
  1. # ------------------------------------------------------------------------------
  2. # FILE: jaischeema.zsh-theme
  3. # DESCRIPTION: oh-my-zsh theme file.
  4. # AUTHOR: Jais Cheema
  5. # VERSION: 0.0.1
  6. # ------------------------------------------------------------------------------
  7. PROMPT='%{$fg_bold[magenta]%}%m%{$reset_color%} at %{$fg_bold[green]%}%~%{$reset_color%} %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}% %{$reset_color%}%{$fg[red]%}❯%{$reset_color%} '
  8. ZSH_THEME_GIT_PROMPT_PREFIX="±(%{$fg[red]%}"
  9. ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
  10. ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%} "
  11. ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) "
  12. if which rbenv &> /dev/null; then
  13. RPROMPT='%{$fg[red]%}$(rbenv version | sed -e "s/ (set.*$//")%{$reset_color%}'
  14. else
  15. if which rvm-prompt &> /dev/null; then
  16. RPROMPT='%{$fg[red]%}$(rvm-prompt)%{$reset_color%}'
  17. fi
  18. fi