mirror of
https://github.com/powerline/powerline.git
synced 2025-07-28 00:04:39 +02:00
Add left-only shell theme
This is useful for bash prompts since bash doesn't support RPS1. This theme must be manually enabled by editing the user config file. Closes #84.
This commit is contained in:
parent
487aef3af7
commit
9035ec73f9
24
powerline/config_files/themes/shell/default_leftonly.json
Normal file
24
powerline/config_files/themes/shell/default_leftonly.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"default_module": "powerline.segments.common",
|
||||
"segments": {
|
||||
"left": [
|
||||
{
|
||||
"name": "hostname",
|
||||
"before": " "
|
||||
},
|
||||
{
|
||||
"name": "user"
|
||||
},
|
||||
{
|
||||
"name": "branch",
|
||||
"before": " "
|
||||
},
|
||||
{
|
||||
"name": "cwd",
|
||||
"args": {
|
||||
"dir_limit_depth": 3
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user