update the tab/window title with the pwd
This commit is contained in:
@@ -1,7 +1,17 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# prompt themeing
|
# 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
|
# git themeing
|
||||||
|
|||||||
Reference in New Issue
Block a user