6
我试过增加IPython的历史长度以下这篇文章: Control ipython history length通过更改c.TerminalInteractiveShell.history_length
在~/.ipython/profile_default/ipython_config.py
。增加IPython的历史长度
配置文件似乎在启动时执行(如果我在文件中把print('test-startup')
,它的打印,当我开始的IPython)
但它似乎并不产生任何影响,反正是有检查的历史从IPython的内部尺寸(有点像你怎么能在bash做echo $HISTSIZE; echo $HISTFILESIZE
?)