dot/profile: Install some path hacks by default at login time.
[profile] / dot / ipython-config.py
index 752ca04..9db7f6b 100644 (file)
@@ -1,6 +1,8 @@
 ### -*-python -*-
 
 import pygments as PYG
+import prompt_toolkit as PTK
+
 c = get_config()
 
 ## Simple stuff.
@@ -21,7 +23,7 @@ c.TerminalInteractiveShell.highlighting_style = 'emacs'
 c.TerminalInteractiveShell.highlighting_style_overrides = {
   T.Keyword: 'bold #fff',
   T.Comment: 'italic #54ff9f',
-  T.Literal.Number: '#adff2f',
+  T.Literal.Number: '#ffff00',
   T.Literal.String: '#87ceff',
   T.Literal.String.Escape: '#87ceff',
   T.Literal.String.Interpol: '#87ceff',
@@ -42,5 +44,8 @@ c.TerminalInteractiveShell.highlighting_style_overrides = {
   T.Name.Variable.Magic: '#fff',
   T.Operator: '#eec591',
   T.Operator.Word: 'bold #fff',
-  T.Punctuation: '#eec591'
+  T.Punctuation: '#eec591',
+  PTK.token.Token.MatchingBracket: '',
+  PTK.token.Token.MatchingBracket.Cursor: '',
+  PTK.token.Token.MatchingBracket.Other: 'bg:#006400'
 }