Created
June 20, 2021 07:33
-
-
Save prameshbajra/42dff56bbd229bad9ca8f5571d70c8cc to your computer and use it in GitHub Desktop.
Oh my posh configuration file. Needs nerd fonts to work flawlessly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "session", | |
"style": "diamond", | |
"foreground": "#ffffff", | |
"background": "#c386f1", | |
"leading_diamond": "", | |
"trailing_diamond": "", | |
"properties": { | |
"postfix": " ", | |
"display_host": true | |
} | |
}, | |
{ | |
"type": "path", | |
"style": "powerline", | |
"powerline_symbol": "", | |
"foreground": "#ffffff", | |
"background": "#ff479c", | |
"properties": { | |
"prefix": " ", | |
"home_icon": "~", | |
"folder_separator_icon": " \uE0b1 ", | |
"style": "folder" | |
} | |
}, | |
{ | |
"type": "git", | |
"style": "powerline", | |
"powerline_symbol": "", | |
"foreground": "#193549", | |
"background": "#fffb38", | |
"properties": { | |
"display_stash_count": true, | |
"display_upstream_icon": true, | |
"status_colors_enabled": true, | |
"local_changes_color": "#ff9248", | |
"ahead_and_behind_color": "#f26d50", | |
"behind_color": "#f17c37", | |
"ahead_color": "#89d1dc", | |
"stash_count_icon": "\uF692 " | |
} | |
} | |
] | |
}, | |
{ | |
"type": "rprompt", | |
"segments": [ | |
{ | |
"type": "executiontime", | |
"style": "diamond", | |
"leading_diamond": "\uE0B2", | |
"trailing_diamond": "\uE0B4", | |
"background": "#2e9599", | |
"foreground": "#ffffff", | |
"properties": { | |
"always_enabled": true, | |
"prefix": " \ufa1e " | |
} | |
} | |
] | |
} | |
], | |
"final_space": true, | |
"console_title": true, | |
"console_title_style": "template", | |
"console_title_template": "{{ .Shell }} in {{ .Path }}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment