From 638fed0941419b866bdd3bc070d1258b40d1b846 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sat, 17 Aug 2019 13:25:39 +0200 Subject: powerline --- powerline/themes/shell/default.json | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'powerline/themes/shell/default.json') diff --git a/powerline/themes/shell/default.json b/powerline/themes/shell/default.json index a15c5ef..42e6c3b 100644 --- a/powerline/themes/shell/default.json +++ b/powerline/themes/shell/default.json @@ -2,27 +2,22 @@ "segments": { "left": [ { - "function": "powerline.segments.shell.mode" + "function": "powerline.segments.common.env.user" }, { - "function": "powerline.segments.common.net.hostname", - "priority": 10 - }, - { - "function": "powerline.segments.common.env.user", - "priority": 30 + "function": "powerline.segments.common.env.virtualenv" }, { - "function": "powerline.segments.common.env.virtualenv", - "priority": 50 + "function": "powerline.segments.shell.cwd", + "args" : { + "dir_shorten_len" : 1 + } }, { - "function": "powerline.segments.shell.cwd", - "priority": 10 + "function": "powerline.segments.shell.jobnum" }, { - "function": "powerline.segments.shell.jobnum", - "priority": 20 + "function" : "powerline.segments.shell.last_status" }, { "function" : "powerline.segments.common.vcs.branch" -- cgit v1.2.3