创建配置文件
ipython profile create
记下文件路径并备份生成的配置文件
修改配置文件
配置以下内容并取消注释
c.InteractiveShell.color_info = True
c.InteractiveShell.colors = 'Neutral'
c.TerminalInteractiveShell.highlighting_style = 'monokai'
c.TerminalInteractiveShell.true_color = True
c.TerminalInteractiveShell.highlight_matching_brackets = True