[WINDOWS] Add configuration for powershell
This commit is contained in:
parent
a2ea5d14ea
commit
861df3678f
5 changed files with 110 additions and 0 deletions
72
configs/powershell/ohmyposh.json
Normal file
72
configs/powershell/ohmyposh.json
Normal file
|
@ -0,0 +1,72 @@
|
|||
{
|
||||
"final_space": true,
|
||||
"console_title": true,
|
||||
"console_title_style": "folder",
|
||||
"blocks": [
|
||||
{
|
||||
"type": "prompt",
|
||||
"alignment": "left",
|
||||
"horizontal_offset": 0,
|
||||
"vertical_offset": 0,
|
||||
"segments": [
|
||||
{
|
||||
"type": "path",
|
||||
"style": "diamond",
|
||||
"powerline_symbol": "",
|
||||
"invert_powerline": false,
|
||||
"foreground": "#ffffff",
|
||||
"background": "#ff479c",
|
||||
"leading_diamond": "",
|
||||
"trailing_diamond": "",
|
||||
"properties": {
|
||||
"prefix": " ",
|
||||
"style": "folder"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "git",
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "",
|
||||
"invert_powerline": false,
|
||||
"foreground": "#193549",
|
||||
"background": "#fffb38",
|
||||
"leading_diamond": "",
|
||||
"trailing_diamond": "",
|
||||
"properties": {
|
||||
"display_status": true,
|
||||
"display_stash_count": true,
|
||||
"display_upstream_icon": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "root",
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "",
|
||||
"invert_powerline": false,
|
||||
"foreground": "#ffffff",
|
||||
"background": "#ffff66",
|
||||
"leading_diamond": "",
|
||||
"trailing_diamond": "",
|
||||
"properties": null
|
||||
},
|
||||
{
|
||||
"type": "exit",
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "",
|
||||
"invert_powerline": false,
|
||||
"foreground": "#ffffff",
|
||||
"background": "#2e9599",
|
||||
"leading_diamond": "",
|
||||
"trailing_diamond": "",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"color_background": true,
|
||||
"display_exit_code": false,
|
||||
"error_color": "#f1184c",
|
||||
"prefix": " "
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue