nsbin/rxvt_to_urxvt_hack.sh

11 lines
515 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 '[ "$TERM" = "rxvt-unicode" ] && export TERM=rxvt' >> "$HOME/.bash_profile"
echo 'if ( $TERM == rxvt-unicode ) setenv TERM rxvt' >> "$HOME/.cshrc"