From 6f5a21a9e7ff68675b032ea10a7966623f8660f2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 22 Nov 2020 20:56:24 +0100 Subject: zsh: improve startup time by managing completion manually --- user/settings/zsh.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'user/settings') diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix index cda96e80..aec8ff50 100644 --- a/user/settings/zsh.nix +++ b/user/settings/zsh.nix @@ -42,7 +42,7 @@ in enable = true; enableAutosuggestions = true; - enableCompletion = true; + enableCompletion = false; defaultKeymap = "emacs"; dotDir = ".config/zsh"; @@ -254,6 +254,8 @@ in ''; initExtra = '' + autoload -Uz compinit + compinit -C typeset -T GHQ_ROOT ghq_root export GHQ_ROOT="$HOME/projects:$HOME/go/src:$HOME/quicklisp/local-projects" -- cgit 1.4.1