Add minimal-git theme
authorMark Szymanski <mrman208@me.com>
Fri, 24 Jun 2011 16:36:11 +0000 (11:36 -0500)
committerMark Szymanski <mrman208@me.com>
Fri, 24 Jun 2011 16:36:11 +0000 (11:36 -0500)
Just like the minimal theme, but with git info

themes/minimal-git/minimal-git.theme.bash [new file with mode: 0644]

diff --git a/themes/minimal-git/minimal-git.theme.bash b/themes/minimal-git/minimal-git.theme.bash
new file mode 100644 (file)
index 0000000..1862f7f
--- /dev/null
@@ -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} "