Skip to content

Instantly share code, notes, and snippets.

@lciolecki
Last active March 27, 2020 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lciolecki/de061b967f9d79e9badb7e11f723c261 to your computer and use it in GitHub Desktop.
Save lciolecki/de061b967f9d79e9badb7e11f723c261 to your computer and use it in GitHub Desktop.
Theme for bash-git-prompt
# This is a theme for gitprompt.sh,
override_git_prompt_colors() {
GIT_PROMPT_THEME_NAME="Single_line_lciolecki"
GIT_PROMPT_BRANCH="${Cyan}"
GIT_PROMPT_MASTER_BRANCH="${GIT_PROMPT_BRANCH}"
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
GIT_PROMPT_CHANGED="${Yellow}✚ "
GIT_PROMPT_STAGED="${Magenta}●"
GIT_PROMPT_START_USER="${BoldGreen}\u@\h:${BoldBlue}\w${ResetColor}"
GIT_PROMPT_START_ROOT="${BoldRed}\u@\h:${BoldBlue}\w${ResetColor}"
GIT_PROMPT_END_USER="${ResetColor} "
GIT_PROMPT_END_ROOT="#${ResetColor} "
}
reload_git_prompt_colors "Single_line_lciolecki"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment