fishy.zsh-theme 380 B

123456789
  1. # ZSH Theme emulating the Fish shell's default prompt.
  2. local user_color='green'; [ $UID -eq 0 ] && user_color='red'
  3. PROMPT='%n@%m %{$fg[$user_color]%}%~%{$reset_color%}%(!.#.>) '
  4. PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
  5. RPS1='%(?..%{$fg[red]%}%? ↵%{$reset_color%})$(git_prompt_info)'
  6. ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[cyan]%}"
  7. ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"