nsbin/rxvt_to_urxvt_hack.sh

10 lines
434 B
Bash
Raw Normal View History

#!/bin/sh
#===============================================================================
# Author: Nico Schottelius
# Created: 2007-01-04
# Description: rxvt is known to most systems, urxvt not. Hack it.
#==============================================================================
echo '[ "$TERM" = "rxvt-unicode" ] && export TERM=rxvt' >> "$HOME/.profile"
echo 'if ( $TERM == rxvt-unicode ) setenv TERM rxvt' >> "$HOME/.cshrc"