Robert R Evans | eeaef1b | 2010-10-06 17:28:34 -0700 | [diff] [blame] | 1 | PROMPT='\[${green}\]\u\[${normal}\]@\[${green}\]\h\[${normal}\]:\[${blue}\]\w\[${normal}\]\[${red}\]$(prompt_char)$(git_prompt_info)\[${normal}\]\$ ' |
| 2 | |
Robert R Evans | 45a50c0 | 2010-10-09 15:01:50 -0700 | [diff] [blame] | 3 | |
| 4 | |
Robert R Evans | eeaef1b | 2010-10-06 17:28:34 -0700 | [diff] [blame] | 5 | # git themeing |
| 6 | GIT_THEME_PROMPT_DIRTY="×" |
| 7 | GIT_THEME_PROMPT_CLEAN="✓" |
| 8 | GIT_THEME_PROMPT_PREFIX="" |
| 9 | GIT_THEME_PROMPT_SUFFIX="" |
| 10 | |
Robert R Evans | d0d58f3 | 2010-10-09 21:47:45 -0700 | [diff] [blame^] | 11 | # TODO: need a check for OS before adding this to the prompt |
| 12 | # ${debian_chroot:+($debian_chroot)} |
| 13 | |
| 14 | #added TITLEBAR for updating the tab and window titles with the pwd |
| 15 | case $TERM in |
| 16 | xterm*) |
| 17 | TITLEBAR='\[\033]0;\w\007\]' |
| 18 | ;; |
| 19 | *) |
| 20 | TITLEBAR="" |
| 21 | ;; |
| 22 | esac |