diff options
author | Daniel Holman <dholman@gymli.org> | 2018-10-22 19:30:58 -0500 |
---|---|---|
committer | Daniel Holman <dholman@gymli.org> | 2018-10-22 19:30:58 -0500 |
commit | 3d754b36ae97c27232e657a8d7770891b77ea29a (patch) | |
tree | 4ef24d37036b58afc84a57cf6c8ef62898c35184 /.config | |
parent | 98d750ec48173036a285b4fbb9e0352238d263e6 (diff) |
Customized the git prompt of Powerline
Diffstat (limited to '.config')
-rw-r--r-- | .config/powerline/themes/shell/default.json | 24 |
1 files changed, 15 insertions, 9 deletions
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", @@ -24,16 +38,8 @@ ], "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 } ] } |