Fix the delete key in zsh

This commit is contained in:
Tony Blyler 2022-06-24 20:43:42 -04:00
parent 1114c4f3a3
commit 15ba998e43
Signed by: tblyler
GPG key ID: 7F13D9A60C0D678E

View file

@ -123,6 +123,8 @@ zstyle ':completion:*' menu select
# case-insensitive,partial-word and then substring completion # case-insensitive,partial-word and then substring completion
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
bindkey '^[[Z' reverse-menu-complete bindkey '^[[Z' reverse-menu-complete
# make the delete key work at the prompt
bindkey '^[[3~' delete-char
export TERM='xterm-256color' export TERM='xterm-256color'
ZSH_COMPLETIONS_DIR="${HOME}/.zcompletions" ZSH_COMPLETIONS_DIR="${HOME}/.zcompletions"