Source nix_daemon to avoid macOS breakages
This commit is contained in:
parent
a680860b94
commit
78683f3cdf
@ -14,6 +14,11 @@
|
||||
enableAutosuggestions = true;
|
||||
dotDir = ".config/zsh";
|
||||
initExtra = ''
|
||||
# avoid macOS updates to destroy nix
|
||||
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
|
||||
source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
|
||||
fi
|
||||
|
||||
any-nix-shell zsh --info-right | source /dev/stdin
|
||||
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user