Solarized_Extravagant.bgptheme 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # This theme for gitprompt.sh is optimized for the "Solarized Dark" and "Solarized Light" color schemes
  2. # tweaked for Ubuntu terminal fonts
  3. # some modifications on colors
  4. # added ruby prompt, and kernel version as well
  5. override_git_prompt_colors() {
  6. if [ -e ~/.rvm/bin/rvm-prompt ]; then
  7. RUBY_PROMPT='{$(~/.rvm/bin/rvm-prompt i v)}'
  8. else
  9. if command -v rbenv > /dev/null; then
  10. RUBY_PROMPT='{$(rbenv version | sed -e "s/ (set.*$//")}'
  11. fi
  12. fi
  13. Time12a="\$(date +%H:%M:%S)"
  14. GIT_PROMPT_THEME_NAME="Solarized Extravagant"
  15. GIT_PROMPT_STAGED="${Yellow}● "
  16. GIT_PROMPT_UNTRACKED="${Cyan}… "
  17. GIT_PROMPT_STASHED="${BoldMagenta}⚑ "
  18. GIT_PROMPT_CLEAN="${Green}✔ "
  19. GIT_PROMPT_COMMAND_OK="${Green}✔ "
  20. GIT_PROMPT_COMMAND_FAIL="${Red}✘ "
  21. KERNEL_PROMPT='‹$(uname -r)›'
  22. GIT_PROMPT_START_USER="_LAST_COMMAND_INDICATOR_ ${BoldBlueFg}${Time12a} ${Green}${KERNEL_PROMPT} ${Cyan}${RUBY_PROMPT} ${Yellow}${PathShort}"
  23. GIT_PROMPT_START_ROOT="${GIT_PROMPT_START_USER}"
  24. if [ -n "$SSH_CLIENT" ]; then
  25. GIT_PROMPT_END_USER="\n${BoldRed} ➤ ${ResetColor}"
  26. GIT_PROMPT_END_ROOT="\n${BoldRed} » ${ResetColor}"
  27. else
  28. GIT_PROMPT_END_USER="\n${BoldBlue} ➭ ${ResetColor}"
  29. GIT_PROMPT_END_ROOT="\n${BoldRed} # ${ResetColor}"
  30. fi
  31. GIT_PROMPT_LEADING_SPACE=1
  32. GIT_PROMPT_PREFIX="${Cyan}["
  33. GIT_PROMPT_SUFFIX="${Cyan}]"
  34. GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING="✭"
  35. }
  36. reload_git_prompt_colors "Solarized Extravagant"