forked from colonelpanic/dotfiles
Switch to powerline prompt.
This commit is contained in:
21
dotfiles/config/powerline/colorschemes/shell/default.json
Normal file
21
dotfiles/config/powerline/colorschemes/shell/default.json
Normal 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"]}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
39
dotfiles/config/powerline/themes/shell/default.json
Normal file
39
dotfiles/config/powerline/themes/shell/default.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user