fix rxvt searching

master
Paul Walko 2017-11-16 10:28:50 -05:00
parent 361b9e68dd
commit 23e88a4403
1 changed files with 2 additions and 2 deletions

View File

@ -5,13 +5,13 @@
#exec /bin/zsh -l #exec /bin/zsh -l
if [[ -z $TMUX ]]; then if [[ -z $TMUX ]]; then
if [ -e /usr/share/terminfo/x/xterm-256color ]; then # may be xterm-256 depending on your distro if [ -e /usr/share/terminfo/r/rxvt-256color ]; then # may be xterm-256 depending on your distro
export TERM='rxvt-256color' export TERM='rxvt-256color'
else else
export TERM='rxvt' export TERM='rxvt'
fi fi
else else
if [ -e /usr/share/terminfo/s/screen-256color ]; then if [ -e /usr/share/terminfo/s/screen.xterm-256color ]; then
export TERM='screen-256color' export TERM='screen-256color'
else else
export TERM='screen' export TERM='screen'