nsbin/rxvt_to_urxvt_hack.sh
Nico Schottelius 74b4b65fca add the old (u)rxvt hack
Signed-off-by: Nico Schottelius <nico@ikn.ethz.ch>
2008-12-05 15:39:34 +01:00

10 lines
515 B
Bash
Executable file

#!/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"