Add workaround for alacritty in TERM based key workaround
This commit is contained in:
parent
1312563b85
commit
e3e3531837
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user