From: Rich Manalang Date: Thu, 7 Oct 2010 23:32:06 +0000 (-0700) Subject: added simple theme X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=22d2581f19d8b29710e80fe87c409ef46e69c8b3;p=common%2Fbash_it.git added simple theme --- diff --git a/themes/simple/simple.theme.bash b/themes/simple/simple.theme.bash new file mode 100644 index 0000000..be28af5 --- /dev/null +++ b/themes/simple/simple.theme.bash @@ -0,0 +1,26 @@ +#!/bin/bash + +# prompt themeing + +#added TITLEBAR for updating the tab and window titles with the pwd +case $TERM in + xterm*) + TITLEBAR="\[\033]0;\w\007\]" + ;; + *) + TITLEBAR="" + ;; +esac +PROMPT="${TITLEBAR}${orange}${reset_color}${green}\w${bold_blue}\$(git_prompt_info)${reset_color} " + + +# git themeing +# GIT_THEME_PROMPT_DIRTY=" ${red}✗" +# GIT_THEME_PROMPT_CLEAN=" ${bold_green}✓" +# GIT_THEME_PROMPT_PREFIX=" ${green}|" +# GIT_THEME_PROMPT_SUFFIX="${green}|" + +GIT_THEME_PROMPT_DIRTY=" ✗" +GIT_THEME_PROMPT_CLEAN=" ✓" +GIT_THEME_PROMPT_PREFIX="(" +GIT_THEME_PROMPT_SUFFIX=")"