add the old (u)rxvt hack

Signed-off-by: Nico Schottelius <nico@ikn.ethz.ch>
This commit is contained in:
Nico Schottelius 2008-12-05 15:39:34 +01:00
parent 58dc2a7241
commit 74b4b65fca

10
rxvt_to_urxvt_hack.sh Executable file
View file

@ -0,0 +1,10 @@
#!/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"