Single_line_Solarized.bgptheme 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # This is an alternative approach. Single line in git repo.
  2. # Theme optimised for Terminus and PowerLine compatible fonts.
  3. # This theme for gitprompt.sh is optimized for the "Solarized Dark" and "Solarized Light" color schemes
  4. # without the indicator of the last command state
  5. # tweaked for Ubuntu terminal fonts
  6. define_helpers() {
  7. PathShort="${BoldBlue}\u:${Cyan}\W"
  8. }
  9. override_git_prompt_colors() {
  10. GIT_PROMPT_THEME_NAME="Single_line_Solarized"
  11. GIT_PROMPT_PREFIX="[ "
  12. GIT_PROMPT_SUFFIX=" ]"
  13. GIT_PROMPT_SEPARATOR=" |"
  14. GIT_PROMPT_STAGED=" ${Yellow}● ${ResetColor}"
  15. GIT_PROMPT_CONFLICTS=" ${Red}✖ ${ResetColor}"
  16. GIT_PROMPT_CHANGED=" ${Blue}✚ ${ResetColor}"
  17. GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
  18. GIT_PROMPT_STASHED=" ${BoldMagenta}⚑ ${ResetColor}"
  19. GIT_PROMPT_CLEAN=" ${Green}✔ ${ResetColor}"
  20. GIT_PROMPT_COMMAND_FAIL="${Red}✘"
  21. GIT_PROMPT_START_USER="_LAST_COMMAND_INDICATOR_ ${Yellow}${PathShort}${ResetColor}"
  22. GIT_PROMPT_END_USER="${BoldBlue} ➭ ${ResetColor}"
  23. GIT_PROMPT_END_ROOT="${BoldRed} # ${ResetColor}"
  24. GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING="✭"
  25. }
  26. reload_git_prompt_colors "Single_line_Solarized"