diff options
author | Alan Pearce | 2020-03-13 14:35:52 +0100 |
---|---|---|
committer | Alan Pearce | 2020-03-13 14:38:37 +0100 |
commit | ba7aa7468586cd316bec205d33faa381e857f79e (patch) | |
tree | a7314d207ef7a897867aac433ead33b8f826a5ed | |
parent | 413cf3b4cc986b2d9a8e775ec5c5ad8ef783ba2c (diff) | |
download | nixfiles-ba7aa7468586cd316bec205d33faa381e857f79e.tar.lz nixfiles-ba7aa7468586cd316bec205d33faa381e857f79e.tar.zst nixfiles-ba7aa7468586cd316bec205d33faa381e857f79e.zip |
Shell: make compatible with darwin
-rw-r--r-- | system/settings/programs/shell.nix | 5 |
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; } |