feat: example env files are listed hidden, not skipped (#83)

Co-authored-by: Karl-Einar Bergstrøm <karl-einarb@outlook.com>
This commit was merged in pull request #83.
This commit is contained in:
keb authored and Karl-Einar Bergstrøm committed 2026-10-15 14:07:02 +02:00
1 parent 4bac06ae5b
commit 580c7ef985
4 files changed
+34 -16

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ func (m *Model) shareFiles(src provider.Source, cs []provider.Container) tea.Cmd
return msg
}
for _, c := range all {
if c.Detail == provider.DetailPlainEnv {
if c.Detail == provider.DetailPlainEnv && !c.Hidden { // not .env.example
cs = append(cs, c)
}
}