Skip to content

Instantly share code, notes, and snippets.

@OzTamir
Created April 4, 2016 16:01
Show Gist options
  • Save OzTamir/e218ab95254c968eb9cfcc073643b708 to your computer and use it in GitHub Desktop.
Save OzTamir/e218ab95254c968eb9cfcc073643b708 to your computer and use it in GitHub Desktop.
A superb bash theme (used with bash-it)
#!/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