Merge branch 'master' of github.com:hjp/dot
This commit is contained in:
commit
e571e6068d
|
@ -32,12 +32,12 @@ if [[ $TERM == xterm ]]
|
||||||
then
|
then
|
||||||
for t in xterm-256color
|
for t in xterm-256color
|
||||||
do
|
do
|
||||||
for d in /usr/share/terminfo/x /lib/terminfo/x
|
for dir in /usr/share/terminfo/x /lib/terminfo/x
|
||||||
do
|
do
|
||||||
if [[ -f $d/$t ]]
|
if [[ -f $dir/$t ]]
|
||||||
then
|
then
|
||||||
TERM=$t
|
TERM=$t
|
||||||
break
|
break 2
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue