From 44fe00b8275e8d20871e42917b873ce9aa8001f1 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 14 Sep 2020 09:25:26 +0900 Subject: Update .zshrc: fix login error on macOS --- .zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 7c0a620..c82dda1 100644 --- a/.zshrc +++ b/.zshrc @@ -159,8 +159,10 @@ setopt ZLE # Load completion +# Note about "-u" flag of compinit: +# https://github.com/zsh-users/zsh/blob/24a82b9dad1cbe109d9fb5753c429fd37b1618cd/Completion/compinit#L67-L72 autoload -U compinit -compinit autoload -U promptinit +compinit -u autoload -U promptinit zstyle ':completion::complete:*' use-cache true #zstyle ':completion:*:default' menu select true zstyle ':completion:*:default' menu select=1 -- cgit v1.2.3-70-g09d2