summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-03-13 14:35:52 +0100
committerAlan Pearce2020-03-13 14:38:37 +0100
commitba7aa7468586cd316bec205d33faa381e857f79e (patch)
treea7314d207ef7a897867aac433ead33b8f826a5ed
parent413cf3b4cc986b2d9a8e775ec5c5ad8ef783ba2c (diff)
downloadnixfiles-ba7aa7468586cd316bec205d33faa381e857f79e.tar.lz
nixfiles-ba7aa7468586cd316bec205d33faa381e857f79e.tar.zst
nixfiles-ba7aa7468586cd316bec205d33faa381e857f79e.zip
Shell: make compatible with darwin
-rw-r--r--system/settings/programs/shell.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/settings/programs/shell.nix b/system/settings/programs/shell.nix
index 4dd65c4a..edc39d0e 100644
--- a/system/settings/programs/shell.nix
+++ b/system/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;
 }