fix(nix/darwin): Prevent compinit warning

REF: https://discourse.nixos.org/t/zsh-compinit-warning-on-every-shell-session/22735/5
This commit is contained in:
Ahmad Ansori Palembani 2024-10-31 09:11:44 +07:00
parent b4f1b3a647
commit 5cf3791045
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -45,8 +45,8 @@
nix.settings.experimental-features = "nix-command flakes"; nix.settings.experimental-features = "nix-command flakes";
# Create /etc/zshrc that loads the nix-darwin environment. # Create /etc/zshrc that loads the nix-darwin environment.
programs.zsh.enable = true; # default shell on catalina programs.zsh.enable = true;
#programs.fish.enable = true; programs.zsh.enableCompletion = false; # causing "insecure directories and files" error if user doesn't have configured zsh
# Set Git commit hash for darwin-version. # Set Git commit hash for darwin-version.
system.configurationRevision = vars.rev or null; system.configurationRevision = vars.rev or null;