Consider installing GHC's bash completion (that ships with GHC)
Please consider installing GHC's bash completion.
It's just one file to include in your distribution, and then hook it up in the env file.
See instructions and snippet to include in env: https://gitlab.haskell.org/ghc/ghc/-/tree/master/utils/completion