Terminal title is not reset after exiting IPython
See original GitHub issueBy default, IPython changes the terminal title to IPython: {cwd}
. However, this change is not reset to the original terminal title after exiting IPython (I’m on macOS High Sierra).
Here’s the output of IPython.sys_info()
:
{'commit_hash': 'd86648c5d',
'commit_source': 'installation',
'default_encoding': 'UTF-8',
'ipython_path': '/Users/clemens/anaconda/lib/python3.6/site-packages/IPython',
'ipython_version': '6.1.0',
'os_name': 'posix',
'platform': 'Darwin-17.0.0-x86_64-i386-64bit',
'sys_executable': '/Users/clemens/anaconda/bin/python',
'sys_platform': 'darwin',
'sys_version': '3.6.3 |Anaconda, Inc.| (default, Oct 6 2017, 12:04:38) \n'
'[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]'}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:14 (11 by maintainers)
Top Results From Across the Web
Stop IPython from changing terminal title - Stack Overflow
In this config file you can set: ## Automatically set the terminal title c.TerminalInteractiveShell.term_title = False.
Read more >Terminal IPython options — IPython 8.7.0 documentation
Execute the given command string. Run the file referenced by the PYTHONSTARTUP environment variable at IPython startup. List of files to run at ......
Read more >How to set a fixed title for a terminal in Mac? - Ask Different
Open the Preferences for terminal app; Select the profile in use; Select "tab" pane on the right; Uncheck everything except Show activity ...
Read more >Terminal IPython options - documentation
'ipython foo.py', start an interactive shell after executing the file or command.
Read more >Change Terminal Title in Mac OS X - Super User
Is there a way to change the title from within a C program? The program I'm thinking about is running animation based on...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’d still vote for changing the default to
c.TerminalInteractiveShell.term_title = False
given that the title can’t be easily reset.Actually, Vim does reset it by pushing and restoring it afterwards