Added rvm prompt info

This commit is contained in:
Robert R Evans
2010-10-09 21:46:28 -07:00
parent f1ead0535b
commit 698509adb0
4 changed files with 14 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
PROMPT="${bold_blue}\[\$(prompt_char)\]\[\$(git_prompt_info)\] ${orange}\h ${reset_color}in ${green}\w ${reset_color}\[→ "
PROMPT="${bold_blue}\[\$(prompt_char)\]\[\$(git_prompt_info)\]${blue}\$(rvm_version_prompt) ${orange}\h ${reset_color}in ${green}\w ${reset_color}\[→ "
# git theming
GIT_THEME_PROMPT_DIRTY=" ${red}"
@@ -9,6 +9,9 @@ GIT_THEME_PROMPT_CLEAN=" ${bold_green}✓"
GIT_THEME_PROMPT_PREFIX=" ${green}|"
GIT_THEME_PROMPT_SUFFIX="${green}|"
RVM_THEME_PROMPT_PREFIX=" |"
RVM_THEME_PROMPT_SUFFIX="|"
#added TITLEBAR for updating the tab and window titles with the pwd
case $TERM in