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:
parent
b4f1b3a647
commit
5cf3791045
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue