This is a quick tip which seems to be working well.
If you work on a project which always needs some tools present in a specific environment you can use direnv to automatically load the right environment:
direnvin your default profile (so that it’s available whenever you open a shell session)
- create a
. <(flox activate -e work)where
workis the environment you need
- allow that file to be used with
Then every time you cd into your work directory the
work environment will be active.