1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
from powerline.bindings.ipython.since_7 import PowerlinePrompts
import os
c = get_config()
c.TerminalInteractiveShell.simple_prompt = False
c.TerminalIPythonApp.display_banner = False
c.TerminalInteractiveShell.prompts_class = PowerlinePrompts
c.TerminalInteractiveShell.autocall = 1
c.Powerline.config_paths = [os.path.abspath('powerline/config_files')]
c.Powerline.theme_overrides = {
'in': {
'segment_data': {
'virtualenv': {
'display': False
}
}
}
}
c.Powerline.config_overrides = {
'common': {
'default_top_theme': 'ascii'
}
}
|