Move minimal-git theme into minimal theme
parent
4ac4049a75
commit
ff0859d289
|
|
@ -1,7 +1,12 @@
|
|||
prompt_setter() {
|
||||
PS1="${cyan}\W${normal} "
|
||||
#!/usr/bin/env bash
|
||||
|
||||
SCM_THEME_PROMPT_PREFIX="${cyan}(${green}"
|
||||
SCM_THEME_PROMPT_SUFFIX="${cyan})"
|
||||
SCM_THEME_PROMPT_DIRTY=" ${red}✗"
|
||||
SCM_THEME_PROMPT_CLEAN=" ${green}✓"
|
||||
|
||||
prompt() {
|
||||
PS1="$(scm_prompt_info)${reset_color} ${cyan}\W${reset_color} "
|
||||
}
|
||||
|
||||
PROMPT_COMMAND=prompt_setter
|
||||
|
||||
export PS3=">> "
|
||||
PROMPT_COMMAND=prompt
|
||||
|
|
|
|||
Loading…
Reference in New Issue