diff --git a/05-start.zsh b/05-start.zsh index e69de29..65d1f2e 100644 --- a/05-start.zsh +++ b/05-start.zsh @@ -0,0 +1,10 @@ +# Автоматическая установка описания терминала xterm-kitty +if [[ "x${TERM}" = "xxterm-kitty" ]]; then + if ! infocmp "xterm-kitty" > /dev/null 2>&1 ; then + if ! sudo apt-get install kitty-terminfo > /dev/null 2>&1 ; then + mkdir -p "${HOME}/.terminfo/x" + cp -ap "${ZDOTDIR}/term/xterm-kitty" "${HOME}/.terminfo/x" + fi + fi +fi + diff --git a/terminfo/xterm-kitty b/terminfo/xterm-kitty new file mode 100644 index 0000000..83fbb78 Binary files /dev/null and b/terminfo/xterm-kitty differ