Skip to content

Ship default bash completion file with ghc

Now that ticket #7843 (closed) has been closed, it would be great to ship a default implementation of a bash completion file for ghc.

Since there isn't a standard location to install completion files across distros, it might be good to have an optional flag during configure to specify a location and if one is specified, install the bash completion file into that location.

The following links provide implementations that have worked for me:

http://www.reddit.com/r/haskell/comments/236qkb/autocomplete_command_line_options_with_ghc_78/

https://ghc.haskell.org/trac/ghc/wiki/AutocompleteGHCFlags

Trac metadata
Trac field Value
Version 7.8.2
Type FeatureRequest
TypeOfFailure OtherFailure
Priority lowest
Resolution Unresolved
Component None
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information