Merge pull request #751 from beornf/master

Bash-it theme inspired by oh-my-zsh tonotdo.
This commit is contained in:
Nils Winkler
2016-07-04 08:00:01 +01:00
committed by GitHub

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
SCM_THEME_PROMPT_PREFIX=" ${purple}"
SCM_THEME_PROMPT_SUFFIX=" ${normal}"
SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${green}"
SCM_GIT_SHOW_DETAILS="false"
function prompt_command() {
PS1="${yellow}\u${normal}${cyan}@\h${normal}${purple} ${normal}${green}\w${normal}$(scm_prompt_info)> "
}
PROMPT_COMMAND=prompt_command