Ensure the terminal window/tab title is updated.
This commit is contained in:
parent
0bce103f48
commit
06eb9e2ca9
1
.bashrc
1
.bashrc
|
@ -14,6 +14,7 @@ export PATH=/usr/local/bin:/usr/local/sbin:${PATH}
|
||||||
# A useful prompt
|
# A useful prompt
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
export PS1="[\u@\h \W]\\$ "
|
export PS1="[\u@\h \W]\\$ "
|
||||||
|
export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue