my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
510 B

3 years ago
  1. ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[green]%}"
  2. ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
  3. ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}!"
  4. ZSH_THEME_GIT_PROMPT_CLEAN=""
  5. function prompt_char {
  6. if [ $UID -eq 0 ]; then echo "%{$fg[red]%}#%{$reset_color%}"; else echo $; fi
  7. }
  8. PROMPT='%(?, ,%{$fg[red]%}FAIL%{$reset_color%}
  9. )
  10. %{$fg[magenta]%}%n%{$reset_color%}@%{$fg[yellow]%}%m%{$reset_color%}: %{$fg_bold[blue]%}%~%{$reset_color%}$(git_prompt_info)
  11. $(prompt_char) '
  12. RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}'