diff --git a/modules/programs/zsh.nix b/modules/programs/zsh.nix index b6e46392c..2c23f74fe 100644 --- a/modules/programs/zsh.nix +++ b/modules/programs/zsh.nix @@ -632,10 +632,10 @@ in '') cfg.plugins)) '' - # Oh-My-Zsh/Prezto calls compinit during initialization, + # Oh-My-Zsh/Prezto/zplug calls compinit during initialization, # calling it twice causes slight start up slowdown # as all $fpath entries will be traversed again. - ${optionalString (cfg.enableCompletion && !cfg.oh-my-zsh.enable && !cfg.prezto.enable) + ${optionalString (cfg.enableCompletion && !cfg.oh-my-zsh.enable && !cfg.prezto.enable && !cfg.zplug.enable) cfg.completionInit }''