Skip to content

Tab-completion of filenames does not work in GHCi 6.6

Trying to tab-complete filenames, for example when doing a :load, does not work in GHCi 6.6. It did work in GHCi 6.4.2.

Scenario:

$> ls
Baz Foo
$> ls Foo/
Bar.hs
$> ghci
Prelude> :l F<<press tab>>
Prelude> :l Foo/<press tab twice>>
Baz/ Foo/

Rather than listing options of Baz and Foo it should have completed to Foo/Bar.hs.

Trac metadata
Trac field Value
Version 6.6
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Linux
Architecture x86_64 (amd64)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information