阻止IPython更改终端标题

阻止IPython更改终端标题,ipython,Ipython,从IPython 5开始,IPython会话自动修改终端(选项卡)标题。我更喜欢手动设置终端选项卡的标题。有没有办法阻止IPython修改标题?这可以在IPython配置中配置。如果还没有IPython配置文件: $ ipython profile create [ProfileCreate] Generating default config file: u'/home/user/.ipython/profile_default/ipython_config.py' 在此配置文件中,您可以设

从IPython 5开始,IPython会话自动修改终端(选项卡)标题。我更喜欢手动设置终端选项卡的标题。有没有办法阻止IPython修改标题?

这可以在IPython配置中配置。如果还没有IPython配置文件:

$ ipython profile create
[ProfileCreate] Generating default config file: u'/home/user/.ipython/profile_default/ipython_config.py'
在此配置文件中,您可以设置:

## Automatically set the terminal title
c.TerminalInteractiveShell.term_title = False