I didn't know this. I know this ticket is open https://github.com/direnv/direnv/issues/443 but it is not clear to me if it is working for bash