Open hasufell opened 2 years ago
In GitLab by @maerwald on Nov 22, 2021, 05:09
ghcup uses the upstream bindists from https://downloads.haskell.org/~ghc/
I double checked and to me it seems these do not include the bash completion scripts. Right now, ghcup doesn't support multiple downloads per tool.
@bgamari would it be possible/reasonable to include the bash completion in the GHC bindists?
In GitLab by @szabi on Dec 5, 2021, 04:31
@kolmodin : maybe create an upstream issue for GHC, requesting that the completion script is included in the bindist?
In GitLab by @bgamari on Dec 10, 2021, 02:33
Indeed it would. We should open a ticket in ghc/ghc> to track this.
In GitLab by @bgamari on Dec 10, 2021, 02:34
mentioned in issue ghc/ghc#20802
In GitLab by @bgamari on Dec 10, 2021, 02:34
I've opened https://gitlab.haskell.org/ghc/ghc/-/issues/20802 to track this.
By the GHC upstream ticket, the completions should be in the bindist -- however, installing the latest (9.8.1) release of GHC, I'm still not seeing the completions. The one I'm using at the moment dates from November 2019, when I explicitly installed it. It works, but I'd rather have ghcup
manage it than my fallible habits.
By the GHC upstream ticket, the completions should be in the bindist -- however, installing the latest (9.8.1) release of GHC, I'm still not seeing the completions.
I think this is a bug in GHC. The completions are in the bindist tarball, but aren't accounted for in the install script.
In GitLab by @kolmodin on Nov 22, 2021, 04:16
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