rvm goodness

pull/8/head
Robert R Evans 2010-10-09 21:47:45 -07:00
parent 698509adb0
commit d0d58f3763
2 changed files with 13 additions and 13 deletions

View File

@ -11,14 +11,3 @@ GIT_THEME_PROMPT_SUFFIX="${green}|"
RVM_THEME_PROMPT_PREFIX=" |" RVM_THEME_PROMPT_PREFIX=" |"
RVM_THEME_PROMPT_SUFFIX="|" RVM_THEME_PROMPT_SUFFIX="|"
#added TITLEBAR for updating the tab and window titles with the pwd
case $TERM in
xterm*)
TITLEBAR='\[\033]0;\w\007\]'
;;
*)
TITLEBAR=""
;;
esac

View File

@ -8,4 +8,15 @@ GIT_THEME_PROMPT_CLEAN="✓"
GIT_THEME_PROMPT_PREFIX="" GIT_THEME_PROMPT_PREFIX=""
GIT_THEME_PROMPT_SUFFIX="" GIT_THEME_PROMPT_SUFFIX=""
# TODO: need a check for OS before adding this to the prompt
# ${debian_chroot:+($debian_chroot)} # ${debian_chroot:+($debian_chroot)}
#added TITLEBAR for updating the tab and window titles with the pwd
case $TERM in
xterm*)
TITLEBAR='\[\033]0;\w\007\]'
;;
*)
TITLEBAR=""
;;
esac