fix delete key

This commit is contained in:
Ray Elliott 2022-02-23 14:24:56 +00:00
parent 32a92139f6
commit 7b34b6c912
1 changed files with 7 additions and 0 deletions

7
zshrc
View File

@ -77,6 +77,9 @@ zstyle ':completion:::::' completer _expand _complete _ignored _approximate # en
# use emacs style keymaps (ctrl+a, ctrl+e, etc)
bindkey -e
# fix delete
bindkey "^[[3~" delete-char
# The following line was added by compinstall
zstyle :compinstall filename '/home/ray/.zshrc'
zmodload -i zsh/complist
@ -109,3 +112,7 @@ typeset -aU path
eval "$(~/.config/zsh/starship/starship init zsh)"
export STARSHIP_CONFIG=~/.config/starship/starship.toml
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion