Evermeet_Ubuntu.bgptheme 1.7 KB

12345678910111213141516171819202122232425262728293031323334
  1. # This theme for gitprompt.sh is designed for dark color schemes
  2. # On lowres screens unicode characters like ✖ require a space after them
  3. # otherwise the following character may overlap with the unicode character
  4. # tweaked for Ubuntu terminal fonts
  5. override_git_prompt_colors() {
  6. GIT_PROMPT_THEME_NAME="Evermeet_Ubuntu"
  7. GIT_PROMPT_PREFIX="" # start of the git info string
  8. GIT_PROMPT_SUFFIX="" # the end of the git info string
  9. GIT_PROMPT_SEPARATOR="|" # separates each item
  10. GIT_PROMPT_BRANCH="${Magenta}" # the git branch that is active in the current directory
  11. GIT_PROMPT_MASTER_BRANCH="${GIT_PROMPT_BRANCH}" # used if the git branch that is active in the current directory is $GIT_PROMPT_MASTER_BRANCHES
  12. GIT_PROMPT_STAGED="${Cyan}● " # the number of staged files/directories
  13. GIT_PROMPT_CONFLICTS="${BoldRed}✖ " # the number of files in conflict
  14. GIT_PROMPT_CHANGED="${Cyan}✚ " # the number of changed files
  15. GIT_PROMPT_UNTRACKED="${Cyan}…" # the number of untracked files/dirs
  16. GIT_PROMPT_STASHED="${Magenta}⚑ " # the number of stashed files/dir
  17. GIT_PROMPT_CLEAN="${BoldGreen}✔ " # a colored flag indicating a "clean" repo
  18. GIT_PROMPT_UPSTREAM=" {${Magenta}_UPSTREAM_${ResetColor}}"
  19. GIT_PROMPT_START_USER="[${BoldGreen}\u@\h${ResetColor} ${BoldYellow}\${?}${ResetColor} ${BoldBlue}\w${ResetColor}"
  20. GIT_PROMPT_START_ROOT="[${BoldRed}\u@\h${ResetColor} ${BoldYellow}\${?}${ResetColor} ${BoldBlue}\w${ResetColor}"
  21. GIT_PROMPT_END_USER="]$ "
  22. GIT_PROMPT_END_ROOT="]# "
  23. GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING="⭑ " # This symbol is written after the branch, if the branch is not tracked
  24. }
  25. reload_git_prompt_colors "Evermeet_Ubuntu"