diff --git a/.bash_it b/.bash_it new file mode 120000 index 00000000..dee1f0d3 --- /dev/null +++ b/.bash_it @@ -0,0 +1 @@ +.bash_it \ No newline at end of file diff --git a/themes/bobby/bobby.theme.bash b/themes/bobby/bobby.theme.bash index 87976fd0..bea85eff 100644 --- a/themes/bobby/bobby.theme.bash +++ b/themes/bobby/bobby.theme.bash @@ -1,7 +1,17 @@ #!/bin/bash # prompt themeing -PROMPT="${bold_blue}\$(prompt_char)\$(git_prompt_info) ${orange}\h ${reset_color}in ${green}\w ${reset_color}→ " + +#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}${bold_blue}\$(prompt_char)\$(git_prompt_info) ${orange}\h ${reset_color}in ${green}\w ${reset_color}→ " # git themeing @@ -13,4 +23,4 @@ PROMPT="${bold_blue}\$(prompt_char)\$(git_prompt_info) ${orange}\h ${reset_color GIT_THEME_PROMPT_DIRTY=" ✗" GIT_THEME_PROMPT_CLEAN=" ✓" GIT_THEME_PROMPT_PREFIX=" |" -GIT_THEME_PROMPT_SUFFIX="|" \ No newline at end of file +GIT_THEME_PROMPT_SUFFIX="|"