From e3e3531837d5b8b0af674a69997d638dfccdf82e Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 1 May 2022 08:42:59 +0200 Subject: [PATCH] Add workaround for alacritty in TERM based key workaround --- .config/zsh/keys.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/keys.zsh b/.config/zsh/keys.zsh index 2f8b3f1..c7c45bf 100644 --- a/.config/zsh/keys.zsh +++ b/.config/zsh/keys.zsh @@ -64,7 +64,7 @@ if [[ "${TERM}" == rxvt* ]]; then fi # termux claims it is xterm -if [[ ${TERM} == xterm* && ! -v TERMUX_APP_PID ]]; then +if [[ ${TERM} == xterm* && ! -v TERMUX_APP_PID && ! -v ALACRITTY_SOCKET ]]; then bindkey '^H' backward-delete-char bindkey '^?' backward-delete-word fi