diff options
author | Alan Pearce | 2020-11-22 20:56:24 +0100 |
---|---|---|
committer | Alan Pearce | 2020-11-22 20:56:24 +0100 |
commit | 6f5a21a9e7ff68675b032ea10a7966623f8660f2 (patch) | |
tree | c2f777245d4fbfc545a1fce001e37a322d55c24c /user/settings | |
parent | c5b94cc55f2fc7916ca59017ce380786dd9fd450 (diff) | |
download | nixfiles-6f5a21a9e7ff68675b032ea10a7966623f8660f2.tar.lz nixfiles-6f5a21a9e7ff68675b032ea10a7966623f8660f2.tar.zst nixfiles-6f5a21a9e7ff68675b032ea10a7966623f8660f2.zip |
zsh: improve startup time by managing completion manually
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/zsh.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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" |