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.

42 lines
1.5 KiB

3 years ago
  1. # sorin.zsh-theme
  2. # screenshot: https://i.imgur.com/aipDQ.png
  3. if [[ "$TERM" != "dumb" ]] && [[ "$DISABLE_LS_COLORS" != "true" ]]; then
  4. MODE_INDICATOR="%{$fg_bold[red]%}❮%{$reset_color%}%{$fg[red]%}❮❮%{$reset_color%}"
  5. local return_status="%{$fg[red]%}%(?..⏎)%{$reset_color%}"
  6. PROMPT='%{$fg[cyan]%}%c$(git_prompt_info) %(!.%{$fg_bold[red]%}#.%{$fg_bold[green]%}❯)%{$reset_color%} '
  7. ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[blue]%}git%{$reset_color%}:%{$fg[red]%}"
  8. ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
  9. ZSH_THEME_GIT_PROMPT_DIRTY=""
  10. ZSH_THEME_GIT_PROMPT_CLEAN=""
  11. RPROMPT='${return_status}$(git_prompt_status)%{$reset_color%}'
  12. ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%} ✚"
  13. ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[blue]%} ✹"
  14. ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%} ✖"
  15. ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[magenta]%} ➜"
  16. ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[yellow]%} ═"
  17. ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[cyan]%} ✭"
  18. else
  19. MODE_INDICATOR="❮❮❮"
  20. local return_status="%(?::⏎)"
  21. PROMPT='%c$(git_prompt_info) %(!.#.❯) '
  22. ZSH_THEME_GIT_PROMPT_PREFIX=" git:"
  23. ZSH_THEME_GIT_PROMPT_SUFFIX=""
  24. ZSH_THEME_GIT_PROMPT_DIRTY=""
  25. ZSH_THEME_GIT_PROMPT_CLEAN=""
  26. RPROMPT='${return_status}$(git_prompt_status)'
  27. ZSH_THEME_GIT_PROMPT_ADDED=" ✚"
  28. ZSH_THEME_GIT_PROMPT_MODIFIED=" ✹"
  29. ZSH_THEME_GIT_PROMPT_DELETED=" ✖"
  30. ZSH_THEME_GIT_PROMPT_RENAMED=" ➜"
  31. ZSH_THEME_GIT_PROMPT_UNMERGED=" ═"
  32. ZSH_THEME_GIT_PROMPT_UNTRACKED=" ✭"
  33. fi