Add powerline config and update the bootstrap script

This commit is contained in:
Jonny Barnes 2018-01-24 15:27:12 +00:00
parent 16a90e60c6
commit e5a3f34182
9 changed files with 393 additions and 2 deletions

View file

@ -0,0 +1,14 @@
{
"segment_data": {
"hostname": {
"args": {
"only_if_ssh": true
}
},
"cwd": {
"args": {
"dir_limit_depth": 3
}
}
}
}

View file

@ -0,0 +1,12 @@
{
"default_module": "powerline.segments.shell",
"segments": {
"left": [
{
"function": "continuation"
}
],
"right": [
]
}
}

View file

@ -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
}
]
}
}

View file

@ -0,0 +1,34 @@
{
"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.common.vcs.branch",
"priority": 40
},
{
"function": "powerline.segments.shell.cwd",
"priority": 10
},
{
"function": "powerline.segments.shell.jobnum",
"priority": 20
},
{
"function": "powerline.segments.shell.last_status",
"priority": 10
}
]
}
}

View file

@ -0,0 +1,13 @@
{
"segments": {
"left": [
{
"type": "string",
"contents": "Select variant",
"width": "auto",
"align": "r",
"highlight_groups": ["continuation:current"]
}
]
}
}