** Description changed:

  ghc/ghci right now do not tab-complete in a useful way in Bash.
  
  GHC has an official Bash tab-completion script available at
  https://gitlab.haskell.org/ghc/ghc/-/tree/master/utils/completion ,
  which strongly implies that it *should* be available for users who have
  turned on Bash completion using the 'bash-completion' package &
- invocation. But as far as I can tell, it is not actually shipped, much
- less enabled (eg. `dpkg -L ghc | grep -e bash -e complet` lists
- nothing).
+ invocation. The [bash-completion](https://github.com/scop/bash-
+ completion) git repo is completely silent on Haskell/ghc as far as I can
+ tell, so it does not seem to be the case that you are supposed to be
+ getting it from them rather than GHC. But as far as I can tell, it is
+ not actually shipped in the current GHC package on Ubuntu or Debian,
+ much less enabled (eg. `dpkg -L ghc | grep -e bash -e complet` lists
+ nothing). I am told that Mac versions may ship it, but I can't check
+ that easily.
  
  The `ghc` package should include this Bash completion script, so Bash
  users can at least `source` it and use it. Better yet, the ghc package
  should also enable it however appropriately, so Bash users who have
  enabled advanced completion get it automatically without further work.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: ghc 9.4.7-3
  ProcVersionSignature: Ubuntu 6.8.0-45.45-generic 6.8.12
  Uname: Linux 6.8.0-45-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.28.1-0ubuntu3.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: MATE
  Date: Sun Sep 22 18:25:06 2024
  InstallationDate: Installed on 2024-05-04 (141 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  SourcePackage: ghc
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2081666

Title:
  Bash completion: package & enable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ghc/+bug/2081666/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to