diff --git a/themes/minimal-git/minimal-git.theme.bash b/themes/minimal-git/minimal-git.theme.bash index b4c34627..76cb24d5 100644 --- a/themes/minimal-git/minimal-git.theme.bash +++ b/themes/minimal-git/minimal-git.theme.bash @@ -5,4 +5,8 @@ SCM_THEME_PROMPT_SUFFIX="${cyan})" SCM_THEME_PROMPT_DIRTY=" ${red}✗" SCM_THEME_PROMPT_CLEAN=" ${green}✓" -PS1="$(scm_prompt_info)${reset_color} ${cyan}\W${reset_color} " +prompt() { + PS1="$(scm_prompt_info)${reset_color} ${cyan}\W${reset_color} " +} + +PROMPT_COMMAND=prompt