Fix bindkey

Top 10 Things That Fix Everything And Then Some
This commit is contained in:
Spotlight 2021-09-07 23:09:28 -05:00
parent a6986539f2
commit bc59ac6b51
Signed by: spotlight
GPG key ID: 874AA355B3209BDC

8
zshrc
View file

@ -8,12 +8,8 @@ load_plugin "zsh-completions"
load_plugin "zsh-history-substring-search" load_plugin "zsh-history-substring-search"
load_plugin "zsh-syntax-highlighting" load_plugin "zsh-syntax-highlighting"
bindkey "^[[A" history-beginning-search-backward bindkey '^[[A' history-beginning-search-backward
bindkey "^[[B" history-beginning-search-forward bindkey '^[[B' history-beginning-search-forward
# Preserve opacity
# See: https://github.com/zsh-users/zsh-autosuggestions/issues/431#issuecomment-502329696
# Will most likely need removal at a point.
ZSH_AUTOSUGGEST_IGNORE_WIDGETS=(${(@)ZSH_AUTOSUGGEST_IGNORE_WIDGETS:#zle-\*} zle-\^line-init)
source $HOME/.zsh/expand-multiple-dots.zsh # cd .../.../<tab>? source $HOME/.zsh/expand-multiple-dots.zsh # cd .../.../<tab>?
setopt prompt_subst # Make sure prompt is able to be generated properly. setopt prompt_subst # Make sure prompt is able to be generated properly.