comparison .bashrc @ 188:a05016e4881b

Stop screwing with term settings
author Steve Huston <huston@astro.princeton.edu>
date Wed, 01 Apr 2020 10:21:34 -0400
parents 282c9df47923
children b2dc752234ae
comparison
equal deleted inserted replaced
187:1e15f715858e 188:a05016e4881b
41 # If this is an xterm set the title to user@host:dir 41 # If this is an xterm set the title to user@host:dir
42 case $TERM in 42 case $TERM in
43 xterm*|rxvt*) 43 xterm*|rxvt*)
44 PROMPT_COMMAND='history -a ; echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"' 44 PROMPT_COMMAND='history -a ; echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"'
45 ;; 45 ;;
46 screen.xterm-256color)
47 # Specifically, to hell with this one
48 export TERM=screen
49 ;&
46 screen*) 50 screen*)
47 # But if it's a screen window, leave it alone please 51 # But if it's a screen window, leave it alone please
48 PROMPT_COMMAND="history -a" 52 PROMPT_COMMAND="history -a"
49 ;; 53 ;;
50 *) 54 *)