Add dulcie theme as a basic PS1 prompt with git info
parent
6d61aa0883
commit
c4293d9c4e
|
|
@ -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
|
||||||
Loading…
Reference in New Issue