diff dot_zshrc @ 544:c071fc2dc6fc

Run compinit after loading all plugins and functions
author zegervdv <zegervdv@me.com>
date Sun, 30 Jan 2022 10:40:00 +0100
parents 89769aa79628
children 06df3dcf5d96
line wrap: on
line diff
--- a/dot_zshrc	Sat Jan 29 22:16:56 2022 +0100
+++ b/dot_zshrc	Sun Jan 30 10:40:00 2022 +0100
@@ -190,8 +190,6 @@
 zstyle ':completion:*:*:nvim:*' ignored-patterns '*.(o|hex|elf|pyc|pdf|dup)'
 zstyle ':completion:*:*:nvim:*' file-sort modification
 
-autoload -U compinit && compinit
-
 # fg when pressing Ctrl+Z
 function fancy-ctrl-z () {
   if [[ $#BUFFER -eq 0 ]]; then
@@ -269,3 +267,5 @@
 }
 
 ZSH_AUTOSUGGEST_STRATEGY=histdb_top_here
+
+autoload -U compinit && compinit