jaischeema.zsh-theme 664 B

12345678910111213141516
  1. # jaischeema.zsh-theme
  2. 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%} '
  3. ZSH_THEME_GIT_PROMPT_PREFIX="±(%{$fg[red]%}"
  4. ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
  5. ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%} "
  6. ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) "
  7. if which rbenv &> /dev/null; then
  8. RPROMPT='%{$fg[red]%}$(rbenv version | sed -e "s/ (set.*$//")%{$reset_color%}'
  9. else
  10. if which rvm-prompt &> /dev/null; then
  11. RPROMPT='%{$fg[red]%}$(rvm-prompt)%{$reset_color%}'
  12. fi
  13. fi