Merge pull request #416 from ritola/master

Add dulcie theme as a basic PS1 prompt with git info
pull/418/head
Travis Swicegood 2015-02-27 11:33:35 -08:00
commit 26fd48539c
1 changed files with 10 additions and 0 deletions

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