Проверка работы в tmux или screen
This commit is contained in:
parent
38c56ac271
commit
0348458331
@ -95,7 +95,7 @@ kitty-install-terminfo() {
|
|||||||
echo "Close terminal and start again."
|
echo "Close terminal and start again."
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ "x${TERM}" = "xxterm-kitty" ]]; then
|
if [[ "x${TERM}" = "xxterm-kitty" ]] || [[ "x${TERM}" == *"screen"* ]] || [[ "x${TERM}" == *"tmux"* ]]; then
|
||||||
if infocmp "xterm-kitty" > /dev/null 2>&1 ; then
|
if infocmp "xterm-kitty" > /dev/null 2>&1 ; then
|
||||||
unset -f kitty-install-terminfo
|
unset -f kitty-install-terminfo
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user