Add dulcie theme as a basic PS1 prompt with git info

pull/416/head
Heikki Ritola 2015-02-26 15:37:50 +02:00
parent 6d61aa0883
commit c4293d9c4e
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 \W]$(scm_prompt_info)${reset_color}\$ "
}
PROMPT_COMMAND=prompt