DotEnv multiple files
Author: BigBrainAFKCreated Jun 22, 2026Updated Sep 14, 2026
LabelsFeature
If the feature request is for a plugin or theme, specify it here.
DotEnv
If the feature solves a problem you have, specify it here.
I work in a few projects that have either 1 or sometimes 2 env files.
Describe the proposed feature.
Could we get the ability to specify multiple env files to load in the order specified?
Describe alternatives you've considered
I can't really think of an alternative as the split wont realistically go away any time soon.
Additional context
No response
Related Issues
No response
Source: ohmyzsh/ohmyzsh