zsh: improve startup time by managing completion manually
Alan Pearce alan@alanpearce.eu
Sun, 22 Nov 2020 20:56:24 +0100
1 files changed, 3 insertions(+), 1 deletions(-)
jump to
M user/settings/zsh.nix → user/settings/zsh.nix
@@ -42,7 +42,7 @@ programs.zsh = { enable = true; enableAutosuggestions = true; - enableCompletion = true; + enableCompletion = false; defaultKeymap = "emacs"; dotDir = ".config/zsh"; @@ -254,6 +254,8 @@ fi ''; initExtra = '' + autoload -Uz compinit + compinit -C typeset -T GHQ_ROOT ghq_root export GHQ_ROOT="$HOME/projects:$HOME/go/src:$HOME/quicklisp/local-projects"