Replies: 5 comments 1 reply
-
| Could you tell me how nix manages your .zshrc file? Is it similar to a symlink? | 
Beta Was this translation helpful? Give feedback.
-
| 
 @mpociot Correct, its a symlink. With my regular user I can't modify it, its ready only. However after herd runs it seems like the symlink is removed and its modified to inject herd to the path. Eg before herd: After herd runs:  | 
Beta Was this translation helpful? Give feedback.
-
| I would love this as well. I split my .zshrc into multiple files by language (a la holman's topic-based dotfiles) and I would MUCH rather be able to do this manually. Even just having an option during install to add the lines automatically or not, so the user could choose. | 
Beta Was this translation helpful? Give feedback.
-
| I use nix as well and love this to be available. | 
Beta Was this translation helpful? Give feedback.
-
| While I don't use nix, I would also love for this to be an option. | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Description
I use
nixon macOS and my.zshrcfile is configured through nix. Herd writes to it and now my config is no longer "pure" and nix overwrites it next time I run it.It would be nice to have an option not to add this by default and just print the lines I need to add to my config.
Is this feature valuable for other users as well and why?
Yes, anyone using nix or really anyone that splits their
.zshrc, like using a shareddotfilesin multiple computer but you may have herd in only one. In those scenarios you normally have a.localrcor similar.Beta Was this translation helpful? Give feedback.
All reactions