fix rxvt searching
parent
361b9e68dd
commit
23e88a4403
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue