[zsh] fix completions and fzf-tab

This commit is contained in:
Afonso Franco 2024-09-23 05:04:05 +01:00
parent 0adb54b473
commit 086b482cea
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54
2 changed files with 5 additions and 5 deletions

View file

@ -21,14 +21,10 @@ export READER=mupdf
#THEME
source $ZDOTDIR/themes/gruvbox_dark.zsh
#Completions
autoload -U compinit && compinit
fpath+=$ZDOTDIR/plugins/zsh-completions/src
#Prompt
fpath+=$ZDOTDIR/prompts/pure
autoload -U promptinit; promptinit
PURE_GIT_PULL=0
export PURE_GIT_PULL=0
prompt pure
source $ZDOTDIR/functions.zsh

View file

@ -1,4 +1,8 @@
#Completions
ZSH_AUTOSUGGEST_STRATEGY=(match_prev_cmd history completion)
zstyle ':completion:*' rehash true
fpath+=$ZDOTDIR/plugins/zsh-completions/src
autoload -U compinit && compinit
source $ZDOTDIR/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh
source $ZDOTDIR/plugins/zsh-history-substring-search/zsh-history-substring-search.plugin.zsh