Switch to powerline prompt.

This commit is contained in:
2014-11-20 17:41:17 -08:00
parent b442af27e3
commit b22b1828f9
6 changed files with 82 additions and 5 deletions

View File

@@ -0,0 +1,21 @@
{
"name": "Default color scheme for shell prompts",
"groups": {
"user": {"fg": "white", "bg": "blue"},
"hostname": {"fg": "brightyellow", "bg": "mediumorange", "attr": []},
"jobnum": {"fg": "brightyellow", "bg": "mediumorange", "attr": []},
"exit_fail": {"fg": "white", "bg": "darkestred", "attr": []},
"exit_success": {"fg": "white", "bg": "darkestgreen", "attr": []},
"environment": {"fg": "white", "bg": "darkestgreen", "attr": []},
"mode": {"fg": "darkestgreen", "bg": "brightgreen",
"attr": ["bold"] },
"attached_clients": { "fg": "white", "bg": "darkestgreen", "attr": [] }
},
"mode_translations": {
"vicmd": {
"groups": {
"mode": {"fg": "darkestcyan", "bg": "white", "attr": ["bold"]}
}
}
}
}

View File

@@ -0,0 +1,39 @@
{
"segments": {
"left": [
{
"function": "powerline.segments.shell.mode"
},
{
"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.branch",
"priority": 40
}
]
}
}