diff --git a/.bashrc b/.bashrc index 41c8d96..7818ea3 100755 --- a/.bashrc +++ b/.bashrc @@ -94,7 +94,7 @@ function _deferred { # A useful prompt #-------------------------------------------------------------------------------- export PS1="[\u@\h \W \[\033[32m\]\$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ <\1>/')\[\033[00m\]]\\$ " -export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' +export PROMPT_COMMAND+='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' #-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------