Try give full disk access as described here but for /bin/bash
I did it for /bin/zsh for my case and it seems to work now.
I wonder though if giving the command line full disk access is a security issue?