Merge branch 'master' of github.com:hjp/dot

This commit is contained in:
Peter J. Holzer 2020-03-14 18:25:55 +01:00 committed by Peter J. Holzer
commit e571e6068d
1 changed files with 3 additions and 3 deletions

View File

@ -32,12 +32,12 @@ if [[ $TERM == xterm ]]
then
for t in xterm-256color
do
for d in /usr/share/terminfo/x /lib/terminfo/x
for dir in /usr/share/terminfo/x /lib/terminfo/x
do
if [[ -f $d/$t ]]
if [[ -f $dir/$t ]]
then
TERM=$t
break
break 2
fi
done
done