itchy.zsh-theme 549 B

12345678910111213141516
  1. local smiley="%(?,%{$fg[green]%}☺%{$reset_color%},%{$fg[red]%}☹%{$reset_color%})"
  2. local user="%{$fg[cyan]%}%n%{$reset_color%}"
  3. local host="%{$fg[cyan]%}@%m%{$reset_color%}"
  4. local pwd="%{$fg[yellow]%}%~%{$reset_color%}"
  5. PROMPT='${user}${host} ${pwd}
  6. ${smiley} '
  7. RPROMPT='$(rvm-prompt || rbenv version) %{$fg[white]%}$(git_prompt_info)%{$reset_color%}'
  8. ZSH_THEME_GIT_PROMPT_PREFIX=""
  9. ZSH_THEME_GIT_PROMPT_SUFFIX=""
  10. ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%} ✗%{$reset_color%}"
  11. ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%} ✔%{$reset_color%}"