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
748 B

3 years ago
  1. # the svn plugin has to be activated for this to work.
  2. local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
  3. PROMPT='${ret_status}%{$fg_bold[green]%} %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}$(svn_prompt_info)%{$reset_color%}'
  4. ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
  5. ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
  6. ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%})%{$fg[yellow]%} ✗ %{$reset_color%}"
  7. ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) "
  8. ZSH_PROMPT_BASE_COLOR="%{$fg_bold[blue]%}"
  9. ZSH_THEME_REPO_NAME_COLOR="%{$fg_bold[red]%}"
  10. ZSH_THEME_SVN_PROMPT_PREFIX="svn:("
  11. ZSH_THEME_SVN_PROMPT_SUFFIX=")"
  12. ZSH_THEME_SVN_PROMPT_DIRTY="%{$fg[red]%} ✘ %{$reset_color%}"
  13. ZSH_THEME_SVN_PROMPT_CLEAN=" "