mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-31 22:08:34 +00:00
properly handle the case where there is no infocmp
This commit is contained in:
parent
73028838e8
commit
6e08a71d69
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ fix_term ()
|
|||
# sorta hacky, but I cannot find a better way to do this :/
|
||||
fix_terminfo_db ()
|
||||
{
|
||||
if [ `command -v infocmp` = "$1/bin/infocmp" ] ; then
|
||||
if [ `command -v infocmp 2>/dev/null` = "$1/bin/infocmp" ] ; then
|
||||
TERMINFO="$1/share/terminfo"
|
||||
export TERMINFO
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue