After I updated to macOS Sierra, Terminal.app and iTerm failed with the same error:
login: /usr/local/bin/bash: No such file or directory
Now I can fix Terminal with this. But then in Terminal:
mkdir: /Users/username/.bash_sessions: Operation not permitted
Also, this does not fix iTerm. So where does this
/usr/local/bin/bash come from, why is it missing, and if Sierra deleted it, why isn't the new Terminal updated?
There's a guy with the same problem as mine. So I'm not alone.