Move minimal-git theme into minimal theme
This commit is contained in:
@@ -1,7 +1,12 @@
|
|||||||
prompt_setter() {
|
#!/usr/bin/env bash
|
||||||
PS1="${cyan}\W${normal} "
|
|
||||||
|
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
|
PROMPT_COMMAND=prompt
|
||||||
|
|
||||||
export PS3=">> "
|
|
||||||
|
|||||||
Reference in New Issue
Block a user