Add termux workaround to xterm workaround
This commit is contained in:
parent
2bf6d037d4
commit
116e79518f
|
@ -63,7 +63,8 @@ if [[ "${TERM}" =~ "^rxvt" ]]; then
|
|||
bindkey '^[Ob' history-substring-search-down
|
||||
fi
|
||||
|
||||
if [[ "${TERM}" =~ "^xterm" ]]; then
|
||||
# termux claims it is xterm <https://github.com/termux/termux-app/issues/2744>
|
||||
if [[ ${TERM} == xterm* && ! -v TERMUX_APP_PID ]]; then
|
||||
bindkey '^H' backward-delete-char
|
||||
bindkey '^?' backward-delete-word
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user