Single_line_username_repo.bgptheme 529 B

1234567891011121314
  1. # This is an alternative approach. Single line in git repo.
  2. override_git_prompt_colors() {
  3. GIT_PROMPT_THEME_NAME="Single_line_username_repo"
  4. GIT_PROMPT_WITH_USERNAME_AND_REPO=1
  5. GIT_PROMPT_USERNAME_REPO_SEPARATOR=" | "
  6. GIT_PROMPT_PREFIX="[ ${Blue}_USERNAME_REPO_"
  7. GIT_PROMPT_START_USER="_LAST_COMMAND_INDICATOR_ ${White}${Time12a}${ResetColor} ${BoldYellow}${PathShort}${ResetColor}"
  8. GIT_PROMPT_END_USER="${ResetColor} $ "
  9. GIT_PROMPT_END_ROOT="${BoldRed} # "
  10. }
  11. reload_git_prompt_colors "Single_line_username_repo"