1
0
Fork 0

Add workaround for alacritty in TERM based key workaround

This commit is contained in:
tastytea 2022-05-01 08:42:59 +02:00
parent 1312563b85
commit e3e3531837
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ if [[ "${TERM}" == rxvt* ]]; then
fi
# termux claims it is xterm <https://github.com/termux/termux-app/issues/2744>
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