Установка описания терминала kitty, если его нет в системе
This commit is contained in:
parent
4b1fbca444
commit
e6823abbb3
10
05-start.zsh
10
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
|
||||||
|
|
BIN
terminfo/xterm-kitty
Normal file
BIN
terminfo/xterm-kitty
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user