diff --git a/020_kitty-terminal.sh b/020_kitty-terminal.sh index e7a9d7e..06bafa4 100644 --- a/020_kitty-terminal.sh +++ b/020_kitty-terminal.sh @@ -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