1
0
dotfiles/.config/zsh/lib/term.zsh

19 lines
264 B
Bash
Raw Normal View History

2021-06-05 13:49:09 +03:00
#!/bin/zsh
typeset -Uga ZSHU_TERM_MISSING
z-ti-test() {
local r i
r=0
for i ; do
[ -z "$i" ] && continue
if ! (( ${+terminfo[$i]} )) ; then
ZSHU_TERM_MISSING+=( "$1" )
r=1
fi
done
return $r
}