-
-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/etc/profile and /etc/zshrc on Catalina #193
Comments
I'm curious about this too. On new installs I've had to move/backup the existing files. Is that expected? |
I simply moved stock files to /etc/zshrc.local and /etc/zprofile.local for now |
Ah that's a good idea! |
Did fresh Mojave installation+flakes and this appears, is it supposed to? 🤔 What is the recommended resolution? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm just starting out with nix-darwin on Catalina 10.15.4 (using ZSH as default shell) and during
darwin-rebuild switch
I was told that/etc/zprofile
and/etc/zshrc
were not written because they already exist. So I backed them up, removed them and randarwin-rebuild switch
again.Now I'd like to merge together the files generated by nix-darwin and those that I have backed up so that I get Apple-provided integration and fixes for ZSH and the things that nix-darwin provides/expects in a ZSH shell.
Apple
Original
/etc/zprofile
:Original
/etc/zshrc
:nix-darwin
nix-darwin's
/etc/zprofile
:nix-darwin's
/etc/zshrc
:Merged
And now merged
/etc/zprofile
:And merged
/etc/zshrc
:Does this make sense? What should I change?
Should I prepare a PR to update
zshrc
andzprofile
that nix-darwin provides?The text was updated successfully, but these errors were encountered: