Created
July 7, 2017 10:12
-
-
Save tkalfigo/cc0d662c188ec81e7b5128457bc9fe2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this file as ~/.git-prompt-colors.sh | |
# This is the custom theme template for gitprompt.sh | |
override_git_prompt_colors() { | |
GIT_PROMPT_THEME_NAME="Custom" | |
GIT_PROMPT_START_USER="_LAST_COMMAND_INDICATOR_ ${ResetColor} ${Yellow}${PathShort}${ResetColor}" | |
GIT_PROMPT_START_ROOT="${GIT_PROMPT_START_USER}" | |
GIT_PROMPT_END_USER=" \n${Green}[${USER}@${HOSTNAME%%.*}] ${Time12a}${ResetColor} $ " | |
} | |
reload_git_prompt_colors "Custom" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment