Skip to content
This repository

Huge readline history file #80

Closed
stirfoo opened this Issue · 3 comments

3 participants

stirfoo John Jacobsen Laurie Clark-Michalek
stirfoo
Collaborator

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
Collaborator

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

stirfoo
Collaborator

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

Laurie Clark-Michalek
Collaborator

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.