Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Huge readline history file #80

Closed
stirfoo opened this Issue · 3 comments

3 participants

stirfoo John Jacobsen Laurie Clark-Michalek
stirfoo

My ~/.clojurepyhist file is almost 400Mb.

Looks like it's growing exponentially each session by appending a duplicate + the new history you just typed.

John Jacobsen

I tried duplicating this w/ the current master and was not able to.

stirfoo

It's odd, no doubt. I use rlwrap all the time and have never ran into this problem.

Laurie Clark-Michalek

It could be because clojure.main.main calls enable_readline, and clojure.py also calls enable_readline, before then running clojure.main.main. Removing the call to enable_readline in clojure.py would fix it (there was a pull request a few days ago that made clojure.main call enable_readline, so I guess it's needed in there for some reason).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.