Merge pull request #751 from beornf/master

Bash-it theme inspired by oh-my-zsh tonotdo.
pull/752/head
Nils Winkler 2016-07-04 08:00:01 +01:00 committed by GitHub
commit 89b244133c
1 changed files with 13 additions and 0 deletions

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