diff options
author | Alan Pearce | 2019-11-08 23:22:35 +0100 |
---|---|---|
committer | Alan Pearce | 2019-11-08 23:22:35 +0100 |
commit | b53a05c7a0941ce8b7a480d9cbf317578dbac031 (patch) | |
tree | f3886815d65f4b32fdae934d04400babaaca4a77 /user/settings | |
parent | f082ca8aead014318e2cbda41ba671791a405f0b (diff) | |
download | nixfiles-b53a05c7a0941ce8b7a480d9cbf317578dbac031.tar.lz nixfiles-b53a05c7a0941ce8b7a480d9cbf317578dbac031.tar.zst nixfiles-b53a05c7a0941ce8b7a480d9cbf317578dbac031.zip |
zsh: fix global compinit setting breaking darwin
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/nixos.nix | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/user/settings/nixos.nix b/user/settings/nixos.nix index cf098b21..526d8ea5 100644 --- a/user/settings/nixos.nix +++ b/user/settings/nixos.nix @@ -12,14 +12,17 @@ }) ]; - programs.zsh.shellAliases = { - nor = "nixos-rebuild"; - snor = "sudo nixos-rebuild"; - nors = "nixos-rebuild switch"; - snors = "sudo nixos-rebuild switch"; - norb = "nixos-rebuild boot"; - snorb = "sudo nixos-rebuild boot"; - norr = "nixos-rebuild switch --rollback"; - snorr = "sudo nixos-rebuild switch --rollback"; + programs.zsh = { + enableGlobalCompInit = false; + shellAliases = { + nor = "nixos-rebuild"; + snor = "sudo nixos-rebuild"; + nors = "nixos-rebuild switch"; + snors = "sudo nixos-rebuild switch"; + norb = "nixos-rebuild boot"; + snorb = "sudo nixos-rebuild boot"; + norr = "nixos-rebuild switch --rollback"; + snorr = "sudo nixos-rebuild switch --rollback"; + }; }; } |