Created
November 9, 2018 14:14
-
-
Save lostsnow/0686adc0ce7fd7538afcea2b7a8f2c4e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| override_git_prompt_colors() { | |
| # This is the custom theme template for gitprompt.sh | |
| GIT_PROMPT_THEME_NAME="Custom" | |
| GIT_PROMPT_START_USER="_LAST_COMMAND_INDICATOR_ ${ResetColor}[${Cyan}${USER}${ResetColor}@${Green}${HOSTNAME%%.*}:${Yellow}${PathShort}${ResetColor}]" | |
| GIT_PROMPT_START_ROOT="_LAST_COMMAND_INDICATOR_ ${ResetColor}[${BoldRed}${USER}${ResetColor}@${Green}${HOSTNAME%%.*}:${Yellow}${PathShort}${ResetColor}]" | |
| GIT_PROMPT_END_ROOT="${BoldRed}\n\A #${ResetColor} " | |
| GIT_PROMPT_END_USER="${ResetColor}\n\A $ " | |
| } | |
| reload_git_prompt_colors "Custom" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment