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

19 lines
264 B
Bash
Raw Permalink Normal View History

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