From b36d86ddff8f83c691e761d1f9a9789ca8d52fbd Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Fri, 24 Jun 2011 11:36:11 -0500 Subject: [PATCH] Add minimal-git theme Just like the minimal theme, but with git info --- themes/minimal-git/minimal-git.theme.bash | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 themes/minimal-git/minimal-git.theme.bash 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} " -- 2.17.1