# HG changeset patch # User Oleksandr Gavenko # Date 1350931192 -10800 # Node ID c4ed974c79ce7d3400c4fb558c6d7ac7b81c89a4 # Parent 50e17493c476dc94ed88ba78629adffa7a706f71 Add user and host info to xterm title. diff -r 50e17493c476 -r c4ed974c79ce .bashrc --- a/.bashrc Mon Oct 22 21:25:08 2012 +0300 +++ b/.bashrc Mon Oct 22 21:39:52 2012 +0300 @@ -20,7 +20,7 @@ # Add current dir to xterm title. case "$TERM" in - xterm*) PS1='\[\033]0;bash: \w\007\]'$PS1 ;; + xterm*) PS1='\[\033]0;\u@\h+bash: \w\007\]'$PS1 ;; esac if command -v dircolors >/dev/null 2>&1 && [[ -f ~/.dircolors ]]; then