fix zsh completion loading

Amolith created

Change summary

dot_config/zsh/private_dot_zshrc.tmpl | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)

Detailed changes

dot_config/zsh/private_dot_zshrc.tmpl 🔗

@@ -35,7 +35,6 @@ export XDG_CACHE_HOME="$HOME/.cache"
 
 # Moving dotfiles around
 zstyle ':completion:*' cache-path "$XDG_CACHE_HOME"/zsh/zcompcache
-compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"
 export HISTFILE="$XDG_STATE_HOME"/zsh/history
 export ZDOTDIR="$HOME"/.config/zsh
 export WINEPREFIX="$XDG_DATA_HOME"/wine
@@ -187,8 +186,6 @@ gpgconf --launch gpg-agent
 
 eval "$(starship init zsh)"
 
-# The following lines were added by compinstall
-
 zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
 zstyle ':completion:*' group-name ''
 zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
@@ -199,4 +196,4 @@ zstyle :compinstall filename '/home/amolith/.config/zsh/.zshrc'
 
 autoload -Uz compinit
 compinit
-# End of lines added by compinstall
+compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"