update the tab/window title with the pwd
parent
69936c5bb5
commit
63d5e7be5e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue