Open cbarrett opened 7 years ago
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
In #30284 I noted that we have three separate variables to track if either fish, bash or zsh init files had been sourced.
Braindump: It seems like it would be smart to not only have a single variable that tracks if nix-related initialization has been run, but also to do this initialization in a single file. We could write this config into a single file for POSIX-compataible shells, and use fenv or a fenv-like wrapper for non-POSIX shells. For any per-shell customization needed the file would check $SHELL and execute the appropriate initialization code. This file could even potentially be assembled dynamically on nixos/nix-darwin at least.