gallifrey.zsh-theme 423 B

1234567891011
  1. # ZSH Theme - Preview: https://github.com/ohmyzsh/ohmyzsh/wiki/Themes#gallifrey
  2. return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
  3. host_color="%(!.%{$fg[red]%}.%{$fg[green]%})"
  4. PROMPT="${host_color}%m%{$reset_color%} %2~ \$(git_prompt_info)%{$reset_color%}%B»%b "
  5. RPS1="${return_code}"
  6. ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
  7. ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"
  8. unset return_code host_color