Merge pull request #416 from ritola/master

Add dulcie theme as a basic PS1 prompt with git info
This commit is contained in:
Travis Swicegood
2015-02-27 11:33:35 -08:00

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# Simplistic one-liner theme to display source control management info beside
# the ordinary bash prompt.
prompt() {
PS1="${reset_color}[\u@\h$(scm_prompt_info)${reset_color} \W]\$ "
}
PROMPT_COMMAND=prompt