summaryrefslogtreecommitdiff
path: root/powerline/themes/ipython/rewrite.json
diff options
context:
space:
mode:
Diffstat (limited to 'powerline/themes/ipython/rewrite.json')
-rw-r--r--powerline/themes/ipython/rewrite.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/powerline/themes/ipython/rewrite.json b/powerline/themes/ipython/rewrite.json
new file mode 100644
index 0000000..8192fe4
--- /dev/null
+++ b/powerline/themes/ipython/rewrite.json
@@ -0,0 +1,23 @@
+{
+ "default_module": "powerline.segments.ipython",
+ "segments": {
+ "left": [
+ {
+ "type": "string",
+ "contents": "",
+ "draw_soft_divider": false,
+ "width": "auto",
+ "highlight_groups": ["prompt"]
+ },
+ {
+ "function": "prompt_count",
+ "draw_soft_divider": false
+ },
+ {
+ "type": "string",
+ "contents": ">",
+ "highlight_groups": ["prompt"]
+ }
+ ]
+ }
+}