X-Git-Url: https://git.donarmstrong.com/?p=home-base.git;a=blobdiff_plain;f=.bashrc;h=6ff2b358b468536205e5313123eef5768c5bcc12;hp=c2d1b0919936d91f5fdbc9cfc081b2641be3cc76;hb=75c25d46648fc98023c59bde9ca0aeae480ef422;hpb=6584ec688104c99e852325b5162d185435be9b8b diff --git a/.bashrc b/.bashrc index c2d1b09..6ff2b35 100644 --- a/.bashrc +++ b/.bashrc @@ -33,13 +33,13 @@ if [ "$PS1" ]; then # \[\033[1;36m\][\w]\n\[\033[0;36m\][\h|\t]$ \[\033[0m\] # If this is an xterm set the title to user@host:dir - #case $TERM in - #xterm*) - # PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' - # ;; - #*) - # ;; - #esac + case $TERM in + screen|xterm*) + PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' + ;; + *) + ;; + esac # enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc).