Use this wrapper instead:
#!/bin/sh
set -a
. ./.env
exec "$@" #!/bin/sh
set -a
. ./.env
exec "$@"I'm not trying to persuade that these tools are essential or anything, just highlighting that there's a few small details some take care of that're fairly nice.