Disable virtualenv segment, also test config_overrides

This commit is contained in:
ZyX 2014-08-06 18:09:57 +04:00
parent accb174b8b
commit 863264cd99
2 changed files with 24 additions and 10 deletions

View File

@ -1,14 +1,14 @@
 In [2]  bool 42  In [2]  bool 42
     2>  bool(42)      2>  bool(42)
 Out[2]  True  Out[2]  True
 In [3]  bool 44  In [3]  bool 44
     3>  bool(44)      3>  bool(44)
 Out[3]  True  Out[3]  True
 In [4]  class Test(object):  In [4]  class Test(object):
          pass           pass
                   
 In [5]  exit  In [5]  exit

View File

@ -1,3 +1,17 @@
c = get_config() c = get_config()
c.InteractiveShellApp.extensions = ['powerline.bindings.ipython.post_0_11'] c.InteractiveShellApp.extensions = ['powerline.bindings.ipython.post_0_11']
c.TerminalInteractiveShell.autocall = 1 c.TerminalInteractiveShell.autocall = 1
c.Powerline.theme_overrides = {
'in': {
'segment_data': {
'virtualenv': {
'display': False
}
}
}
}
c.Powerline.config_overrides = {
'common': {
'default_top_theme': 'ascii'
}
}