Post #2626909
2025-07-07 17:05 UTC
@webology@mastodon.social @tsvenson@fosstodon.org @hynek@mastodon.social @brianokken@fosstodon.org @treyhunner@mastodon.social @offby1@wandering.shop pardon the ignorance but what does direnv provides that can not be offloaded to the `uv init` and `uv run --env-file .env` flag?
Replies (1)
-
@treyhunner@mastodon.social 2025-07-07 17:07
@minkiu@mastodon.social @webology@mastodon.social @tsvenson@fosstodon.org @hynek@mastodon.social @brianokken@fosstodon.org @offby1@wandering.shop direnv will set and unset environment variables whenever a directory is entered. So a simple "cd" can be activate a virtual environment automatically for example.