-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IRB.conf[:SAVE_HISTORY] setting is ignored resuling in cutting the irb history #138
Comments
Unlimited history size is much better. But it is not a best one. I suggested to use an environment variable. For example: IRB_HISTORY_SIZE. |
I think |
At the moment in master I see the old code with value -1 |
So, Reline keeps unlimited history by default, IRB saves 1000 history by default. And you can specify IRB's history size by |
Yes, it is a good solution, sure. My point is to create an own environment variable that defines the limit and use -1 when it is not set. It is clear we can not use IRB.conf here. |
Description
I have IRB.conf[:SAVE_HISTORY] = 100000 but after I close irb, the history file is cut to 500 lines.
Terminul Emulator
I use Konsole
Suggestions
There must be implemented a way Reline::Config access IRB.conf[:SAVE_HISTORY] and use it as value for @history_size.
At least there must be a way to configure @history_size.
The text was updated successfully, but these errors were encountered: