all repos — nixfiles @ ba7aa7468586cd316bec205d33faa381e857f79e

System and user configuration, managed by nix and home-manager

Shell: make compatible with darwin
Alan Pearce alan@alanpearce.eu
Fri, 13 Mar 2020 14:35:52 +0100
commit

ba7aa7468586cd316bec205d33faa381e857f79e

parent

413cf3b4cc986b2d9a8e775ec5c5ad8ef783ba2c

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M system/settings/programs/shell.nixsystem/settings/programs/shell.nix
@@ -3,7 +3,8 @@ { programs.zsh = {
     enable = true;
     promptInit = "";
-    enableGlobalCompInit = false;
-  };
+} // (if pkgs.stdenv.isDarwin then {} else {
+  enableGlobalCompInit = false;
+});
   programs.bash.enableCompletion = true;
 }