From 086b482cead049c47103874c46fa34b74716b6f7 Mon Sep 17 00:00:00 2001 From: afonso Date: Mon, 23 Sep 2024 05:04:05 +0100 Subject: [PATCH] [zsh] fix completions and fzf-tab --- .config/zsh/.zshrc | 6 +----- .config/zsh/plugins.zsh | 4 ++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 7957890..2dc272f 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -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 diff --git a/.config/zsh/plugins.zsh b/.config/zsh/plugins.zsh index b1dd9b2..309d541 100644 --- a/.config/zsh/plugins.zsh +++ b/.config/zsh/plugins.zsh @@ -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