From c2bd1d850cea1f55862ad2a78424dfad53945d72 Mon Sep 17 00:00:00 2001 From: Daniel Holman Date: Sun, 21 Oct 2018 13:47:34 -0500 Subject: Disabled vim-modeline in zsh powerline --- .config/powerline/themes/shell/default.json | 40 +++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .config/powerline/themes/shell/default.json (limited to '.config/powerline/themes') diff --git a/.config/powerline/themes/shell/default.json b/.config/powerline/themes/shell/default.json new file mode 100644 index 0000000..16d8b9c --- /dev/null +++ b/.config/powerline/themes/shell/default.json @@ -0,0 +1,40 @@ +{ + "segments": { + "left": [ + { + "function": "powerline.segments.common.net.hostname", + "priority": 10 + }, + { + "function": "powerline.segments.common.env.user", + "priority": 30 + }, + { + "function": "powerline.segments.common.env.virtualenv", + "priority": 50 + }, + { + "function": "powerline.segments.shell.cwd", + "priority": 10 + }, + { + "function": "powerline.segments.shell.jobnum", + "priority": 20 + } + ], + "right": [ + { + "function": "powerline.segments.shell.last_pipe_status", + "priority": 10 + }, + { + "function": "powerline.segments.common.vcs.stash", + "priority": 50 + }, + { + "function": "powerline.segments.common.vcs.branch", + "priority": 40 + } + ] + } +} -- cgit v1.2.3 From 3d754b36ae97c27232e657a8d7770891b77ea29a Mon Sep 17 00:00:00 2001 From: Daniel Holman Date: Mon, 22 Oct 2018 19:30:58 -0500 Subject: Customized the git prompt of Powerline --- .config/powerline/themes/shell/default.json | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to '.config/powerline/themes') diff --git a/.config/powerline/themes/shell/default.json b/.config/powerline/themes/shell/default.json index 16d8b9c..9fceca6 100644 --- a/.config/powerline/themes/shell/default.json +++ b/.config/powerline/themes/shell/default.json @@ -1,6 +1,10 @@ { "segments": { "left": [ + { + "function": "powerline.segments.shell.last_pipe_status", + "priority": 10 + }, { "function": "powerline.segments.common.net.hostname", "priority": 10 @@ -15,7 +19,17 @@ }, { "function": "powerline.segments.shell.cwd", - "priority": 10 + "priority": 10, + "args": { + "dir_limit_depth": 2 + } + }, + { + "function": "powerline.segments.common.vcs.branch", + "priority": 40, + "args": { + "status_colors": true + } }, { "function": "powerline.segments.shell.jobnum", @@ -23,17 +37,9 @@ } ], "right": [ - { - "function": "powerline.segments.shell.last_pipe_status", - "priority": 10 - }, { "function": "powerline.segments.common.vcs.stash", "priority": 50 - }, - { - "function": "powerline.segments.common.vcs.branch", - "priority": 40 } ] } -- cgit v1.2.3