[GHC] #13697: Teach GHCi to deduplicate history

GHC ghc-devs at haskell.org
Mon May 15 17:29:25 UTC 2017


#13697: Teach GHCi to deduplicate history
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Ahh, indeed, it seems that I, long ago in a place far far away, added this
 incantation to my `bashrc`,
 {{{#!bash
 export HISTCONTROL=ignoredups ignorespace
 }}}
 I suspect this is responsible.

 In this case we may want to keep Haskeline's current behavior as-is, but
 it would be nice if `~/.haskeline` would have a similar option.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13697#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list