fix lf $TERMINFO issue with an alias

This commit is contained in:
Ray Elliott 2020-02-23 18:02:03 +00:00
parent b3823b57c9
commit de83f25d07
1 changed files with 6 additions and 0 deletions

View File

@ -59,6 +59,12 @@ alias dokku='ssh -t dokku@dokku.isnet.uk'
alias pacman='~/.src/archnews/archnews_wrap'
alias aur-updates='trizen -Su --aur'
# lf gets confused by TERMINFO env var when running in tmux
# https://github.com/gokcehan/lf/issues/138#issuecomment-464477665
if [ -n "$TERMINFO" ] ; then
alias lf="TERMINFO= lf"
fi
# functions
# $1 - output directory