Merge pull request #416 from ritola/master
Add dulcie theme as a basic PS1 prompt with git info
This commit is contained in:
10
themes/dulcie/dulcie.theme.bash
Normal file
10
themes/dulcie/dulcie.theme.bash
Normal 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
|
||||
Reference in New Issue
Block a user