This commit is contained in:
Robert R Evans
2010-10-07 17:15:14 -07:00
parent 7c4af5c1d3
commit b64c228da5
2 changed files with 92 additions and 89 deletions

View File

@@ -1,6 +1,20 @@
#!/bin/bash
# prompt themeing
PROMPT="${bold_blue}\[\$(prompt_char)\]\[\$(git_prompt_info)\] ${orange}\h ${reset_color}in ${green}\w ${reset_color}\[→ "
# git theming
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="|"
#added TITLEBAR for updating the tab and window titles with the pwd
case $TERM in
@@ -10,17 +24,4 @@ case $TERM in
*)
TITLEBAR=""
;;
esac
PROMPT="${TITLEBAR}${bold_blue}\$(prompt_char)\$(git_prompt_info) ${orange}\h ${reset_color}in ${green}\w ${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="|"
esac