Преглед изворни кода

powerline changed to leftonly for compatibility reasons

master
Dirk Alders пре 1 година
родитељ
комит
f37b68c22d

+ 6
- 11
powerline_gitstatus/themes/shell/default.json Прегледај датотеку

@@ -20,6 +20,10 @@
20 20
 				"function": "powerline.segments.common.env.virtualenv",
21 21
 				"priority": 50
22 22
 			},
23
+			{
24
+				"function": "powerline_gitstatus.gitstatus",
25
+				"priority": 40
26
+			},
23 27
 			{
24 28
 				"function": "powerline.segments.shell.cwd",
25 29
 				"priority": 10
@@ -33,15 +37,6 @@
33 37
 				"priority": 10
34 38
 			}
35 39
 		],
36
-		"right": [
37
-			{
38
-				"function": "powerline.segments.shell.last_pipe_status",
39
-				"priority": 10
40
-			},
41
-			{
42
-				"function": "powerline_gitstatus.gitstatus",
43
-				"priority": 40
44
-			}
45
-		]
46
-	}
40
+		"right": []
41
+		}
47 42
 }

+ 47
- 0
powerline_gitstatus/themes/shell/default_right.json Прегледај датотеку

@@ -0,0 +1,47 @@
1
+{
2
+	"segments": {
3
+		"left": [
4
+			{
5
+				"function": "powerline.segments.shell.mode"
6
+			},
7
+			{
8
+				"function": "powerline.segments.common.net.hostname",
9
+				"args": {
10
+					"only_if_ssh": false,
11
+					"exclude_domain": true
12
+				},
13
+				"priority": 10
14
+			},
15
+			{
16
+				"function": "powerline.segments.common.env.user",
17
+				"priority": 30
18
+			},
19
+			{
20
+				"function": "powerline.segments.common.env.virtualenv",
21
+				"priority": 50
22
+			},
23
+			{
24
+				"function": "powerline.segments.shell.cwd",
25
+				"priority": 10
26
+			},
27
+			{
28
+				"function": "powerline.segments.shell.jobnum",
29
+				"priority": 20
30
+			},
31
+			{
32
+				"function": "powerline.segments.shell.last_status",
33
+				"priority": 10
34
+			}
35
+		],
36
+		"right": [
37
+			{
38
+				"function": "powerline.segments.shell.last_pipe_status",
39
+				"priority": 10
40
+			},
41
+			{
42
+				"function": "powerline_gitstatus.gitstatus",
43
+				"priority": 40
44
+			}
45
+		]
46
+	}
47
+}

Loading…
Откажи
Сачувај