Created
April 6, 2013 03:35
-
-
Save nirix/5324644 to your computer and use it in GitHub Desktop.
bash-it theme
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
#!/usr/bin/env bash | |
GIT_THEME_PROMPT_DIRTY=" ${bold_red}✗" | |
#GIT_THEME_PROMPT_CLEAN=" ${bold_green}✓" | |
GIT_THEME_PROMPT_CLEAN="${reset_color}" | |
GIT_THEME_PROMPT_PREFIX=" ${bold_green}[${bold_blue}git${bold_green}:" | |
GIT_THEME_PROMPT_SUFFIX="${bold_green}]" | |
function prompt_command() { | |
PS1="${bold_red}\u@\H ${reset_color}${cyan}\w${reset_color}$(scm_prompt_info)${reset_color} | |
> "; | |
} | |
PROMPT_COMMAND=prompt_command; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment