Fix the XTERM test in the kitty ssh alias.

This commit is contained in:
cyteen 2024-05-03 14:36:07 +01:00
parent a6a4d88000
commit 59258f18d8
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ DEST=${1:-/etc/skel}
KITTY_HOME=${DEST}/.config/kitty
# start the kitty aliases
cat <<-EOF | tee ${DEST}/.zsh_aliases.d/003_kitty.zsh >/dev/null
if test "xterm-kitty" = "xterm-kitty"; then
cat <<-'EOF' | tee ${DEST}/.zsh_aliases.d/003_kitty.zsh >/dev/null
if test "${XTERM}" = "xterm-kitty"; then
EOF
# the terminfo used by kitty is not generally available on