- # This is the default theme for gitprompt.sh
- # without the indicator of the last command state
- # tweaked for Ubuntu terminal fonts
- override_git_prompt_colors() {
- GIT_PROMPT_THEME_NAME="Default NoExitState Ubuntu"
- GIT_PROMPT_STAGED="${Red}● " # the number of staged files/directories
- GIT_PROMPT_CLEAN="${BoldGreen}✔ " # a colored flag indicating a "clean" repo
- GIT_PROMPT_COMMAND_OK="${Green}✔ " # indicator if the last command returned with an exit code of 0
- GIT_PROMPT_COMMAND_FAIL="${Red}✘ " # indicator if the last command returned with an exit code of other than 0
- GIT_PROMPT_START_USER="${Yellow}${PathShort}${ResetColor}"
- GIT_PROMPT_START_ROOT="${GIT_PROMPT_START_USER}"
- }
- reload_git_prompt_colors "Default NoExitState Ubuntu"
|