Single_line_Solarized_Lamda.bgptheme 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. YELLOW=$(tput setaf 3)
  8. PathShort="\[$YELLOW\][\A] ${Cyan}\w"
  9. }
  10. override_git_prompt_colors() {
  11. YELLOW=$(tput setaf 3)
  12. ORANGE=$(tput setaf 9)
  13. RED=$(tput setaf 1)
  14. MAGENTA=$(tput setaf 5)
  15. VIOLET=$(tput setaf 13)
  16. BLUE=$(tput setaf 4)
  17. CYAN=$(tput setaf 6)
  18. GREEN=$(tput setaf 2)
  19. BOLD=$(tput bold)
  20. RESET=$(tput sgr0)
  21. GIT_PROMPT_THEME_NAME="Single_line_Solarized_Lamda"
  22. GIT_PROMPT_PREFIX="[ "
  23. GIT_PROMPT_SUFFIX=" ]"
  24. GIT_PROMPT_SEPARATOR=" |"
  25. GIT_PROMPT_STAGED=" ${Yellow}● ${ResetColor}"
  26. GIT_PROMPT_CONFLICTS=" ${Red}✖ ${ResetColor}"
  27. GIT_PROMPT_CHANGED=" ${Blue}✚ ${ResetColor}"
  28. GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
  29. GIT_PROMPT_STASHED=" ${BoldMagenta}⚑ ${ResetColor}"
  30. GIT_PROMPT_CLEAN=" ${Green}✔ ${ResetColor}"
  31. GIT_PROMPT_COMMAND_FAIL="${Red}✘"
  32. GIT_PROMPT_START_USER="_LAST_COMMAND_INDICATOR_ ${Yellow}${PathShort}${ResetColor}"
  33. GIT_PROMPT_END_USER="\[$ORANGE\] λ ${ResetColor}"
  34. GIT_PROMPT_END_ROOT="${BoldRed} # ${ResetColor}"
  35. GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING="✭"
  36. }
  37. reload_git_prompt_colors "Single_line_Solarized_Lamda"