shell: disable compinit in one place across platforms
1 file changed, 5 insertions(+), 2 deletions(-)
changed files
M system/settings/programs/shell.nix → system/settings/programs/shell.nix
@@ -8,9 +8,12 @@ enable = true; promptInit = ""; } // ( + # Either of these will call `compinit`, causing >2s startup time + # Do it in home-manager instead if pkgs.stdenv.isDarwin - then { } - else { + then { + enableCompletion = false; + } else { enableGlobalCompInit = false; } );