fix: zsh startup time

This commit is contained in:
Patrick 2024-06-03 22:31:51 +02:00
parent 518f84e916
commit aa6a30b0f5
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F

View file

@ -29,5 +29,10 @@
};
# HM zsh needs this or else the startup order is fucked
# and env variables will be loaded incorrectly
programs.zsh.enable = true;
programs.zsh = {
enable = true;
# prevent zsh from calling compinit twice with different fpaths
# This overrides compdump each time, in turn making startup very slow
enableCompletion = false;
};
}