From 06eb9e2ca920445a875cdc0637f687628ce4a860 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Fri, 5 Dec 2014 18:33:16 +0000 Subject: [PATCH] Ensure the terminal window/tab title is updated. --- .bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.bashrc b/.bashrc index 83a693f..cc973a7 100644 --- a/.bashrc +++ b/.bashrc @@ -14,6 +14,7 @@ export PATH=/usr/local/bin:/usr/local/sbin:${PATH} # A useful prompt #-------------------------------------------------------------------------------- export PS1="[\u@\h \W]\\$ " +export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' #-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------