From 6845aac296e4cba5c7c0133c4cd54442e61fc39d Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sat, 9 May 2020 01:08:35 +0100 Subject: [PATCH] Fix zsh completion issue on Ubuntu Zinit manages completions internally, so compinit should not be called before Zinit is loaded. --- zshenv | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zshenv b/zshenv index a07f28b..a64a079 100644 --- a/zshenv +++ b/zshenv @@ -7,6 +7,9 @@ if [[ -n "$ZPROF" ]]; then zmodload zsh/zprof fi +# Ensure compinit is NOT loaded before Zinit loads in ~/zshrc. +skip_global_compinit=1 + # Ensure values in path variable are unique typeset -U path