Mercurial > index.cgi > dotfiles
comparison .bashrc @ 141:ef534933ab04
Leave screen terminal titles alone
author | Steve Huston <huston@srhuston.net> |
---|---|
date | Tue, 05 Jul 2016 12:31:53 -0400 |
parents | 966c1e0b0a97 |
children | 90f60047d5b4 |
comparison
equal
deleted
inserted
replaced
140:ffd88ca719e5 | 141:ef534933ab04 |
---|---|
39 | 39 |
40 # If this is an xterm set the title to user@host:dir | 40 # If this is an xterm set the title to user@host:dir |
41 case $TERM in | 41 case $TERM in |
42 xterm*|rxvt*) | 42 xterm*|rxvt*) |
43 PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"' | 43 PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"' |
44 ;; | |
45 screen*) | |
46 # But if it's a screen window, leave it alone please | |
47 PROMPT_COMMAND="" | |
44 ;; | 48 ;; |
45 *) | 49 *) |
46 ;; | 50 ;; |
47 esac | 51 esac |
48 | 52 |