Created
April 4, 2016 16:01
-
-
Save OzTamir/e218ab95254c968eb9cfcc073643b708 to your computer and use it in GitHub Desktop.
A superb bash theme (used with bash-it)
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 | |
SCM_THEME_PROMPT_PREFIX="${cyan}(${green}" | |
SCM_THEME_PROMPT_SUFFIX="${cyan})" | |
SCM_THEME_PROMPT_DIRTY=" ${red}✗" | |
SCM_THEME_PROMPT_CLEAN=" ${green}✓" | |
function prompt_command() { | |
PS1="${blue}\T ${green}\u ${reset_color}${white}\w ${reset_color}$(scm_prompt_info) ${bold_blue}${reset_color}> "; | |
} | |
PROMPT_COMMAND=prompt_command; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment