From: Mark Szymanski Date: Fri, 24 Jun 2011 16:36:11 +0000 (-0500) Subject: Add minimal-git theme X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=b36d86ddff8f83c691e761d1f9a9789ca8d52fbd;p=common%2Fbash_it.git Add minimal-git theme Just like the minimal theme, but with git info --- diff --git a/themes/minimal-git/minimal-git.theme.bash b/themes/minimal-git/minimal-git.theme.bash new file mode 100644 index 0000000..1862f7f --- /dev/null +++ b/themes/minimal-git/minimal-git.theme.bash @@ -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} "