[GHC] #9005: Ship default bash completion file with ghc

#9005: Ship default bash completion file with ghc ------------------------------------+------------------------------------- Reporter: td123 | Owner: Type: feature request | Status: new Priority: lowest | Milestone: Component: None | Version: 7.8.2 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- Now that ticket #7843 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_op... https://ghc.haskell.org/trac/ghc/wiki/AutocompleteGHCFlags -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9005 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9005: Ship default bash completion file with ghc -------------------------------------+------------------------------------ Reporter: td123 | Owner: Type: feature request | Status: new Priority: lowest | Milestone: Component: None | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by ezyang): (I deleted the duplicate ticket.) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9005#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9005: Ship default bash completion file with ghc -------------------------------------+------------------------------------- Reporter: td123 | Owner: kolmodin Type: feature | Status: new request | Milestone: Priority: lowest | Version: 7.8.2 Component: None | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by kolmodin): * owner: => kolmodin Comment: I'm working on this. A bash completion will be added to GHC, and an accompanying README. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9005#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9005: Ship default bash completion file with ghc -------------------------------------+------------------------------------- Reporter: td123 | Owner: kolmodin Type: feature | Status: new request | Milestone: Priority: lowest | Version: 7.8.2 Component: None | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D536 | -------------------------------------+------------------------------------- Changes (by kolmodin): * differential: => Phab:D536 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9005#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9005: Ship default bash completion file with ghc
-------------------------------------+-------------------------------------
Reporter: td123 | Owner: kolmodin
Type: feature | Status: new
request | Milestone:
Priority: lowest | Version: 7.8.2
Component: None | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: | Difficulty: Unknown
Unknown/Multiple | Blocked By:
Type of failure: | Related Tickets:
None/Unknown |
Test Case: |
Blocking: |
Differential Revisions: Phab:D536 |
-------------------------------------+-------------------------------------
Comment (by Austin Seipp

#9005: Ship default bash completion file with ghc -------------------------------------+------------------------------------- Reporter: td123 | Owner: kolmodin Type: feature | Status: closed request | Milestone: Priority: lowest | Version: 7.8.2 Component: None | Keywords: Resolution: fixed | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D536 | -------------------------------------+------------------------------------- Changes (by kolmodin): * status: new => closed * resolution: => fixed Comment: Bash completion file and README has been added to the repo. The file is to be installed by the distro packagers, so no additional work will be done during the installation phase. Closing as fixed. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9005#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9005: Ship default bash completion file with ghc -------------------------------------+------------------------------------- Reporter: td123 | Owner: kolmodin Type: feature | Status: closed request | Milestone: Priority: lowest | Version: 7.8.2 Component: None | Keywords: Resolution: fixed | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D536 | -------------------------------------+------------------------------------- Comment (by jstolarek): Shouldn't we keep this one open until User's Guide gets updated? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9005#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC