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