DarthSim / overmind

Process manager for Procfile-based applications and tmux
MIT License
2.82k stars 79 forks source link

Fix loading of home dir env #99

Closed ianmalott closed 3 years ago

ianmalott commented 3 years ago

This attempts to restore the documented ability to load env vars via ~/.overmind.env. Fixes https://github.com/DarthSim/overmind/issues/98.

I don't see a precedent for testing in the repo (e.g. main_test.go), but basic local testing suggests this does the trick.

Relevant documentation for os.UserHomeDir: https://golang.org/pkg/os/#UserHomeDir

DarthSim commented 3 years ago

Thanks for your contribution!