Add minimal-git theme
Just like the minimal theme, but with git info
This commit is contained in:
8
themes/minimal-git/minimal-git.theme.bash
Normal file
8
themes/minimal-git/minimal-git.theme.bash
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
SCM_THEME_PROMPT_PREFIX="${cyan}(${green}"
|
||||||
|
SCM_THEME_PROMPT_SUFFIX="${cyan})"
|
||||||
|
SCM_THEME_PROMPT_DIRTY=" ${red}✗"
|
||||||
|
SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓"
|
||||||
|
|
||||||
|
PS1="$(scm_prompt_info)${reset_color} ${cyan}\W${reset_color} "
|
||||||
Reference in New Issue
Block a user