Fix the delete key in zsh
This commit is contained in:
parent
1114c4f3a3
commit
15ba998e43
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue