I have tried increasing IPython history length following this post :
Control ipython history length by changing c.TerminalInteractiveShell.history_length
in ~/.ipython/profile_default/ipython_config.py
.
The config file seems to be executed at startup (if I put print('test-startup')
in the file, it's printed when I start IPython)
But it does not seems to have any influence, is there anyway to check the history size from inside the ipython (kinda like how you can do echo $HISTSIZE; echo $HISTFILESIZE
in bash ?)
Using
In[3]: %config TerminalInteractiveShell.history_length
Out[3]: 10000