
As of `brew` 4.0.2, sourcing the Bash completions with `set -eu` causes a failure if `POSIXLY_CORRECT` is not declared. The check will now properly handle this situation. I'm not sure if the resulting code is POSIX-compliant, but it prevents a breaking change until a better solution can be found.