Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ohmyposhv3-v2
{
"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": "dotnet",
"style": "powerline",
"powerline_symbol": "",
"invert_powerline": false,
"foreground": "#ffffff",
"background": "#6CA35E",
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"display_version": true,
"prefix": ""
}
},
{
"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": ""
}
}
]
}
]
}
@alanneves
Copy link

alanneves commented Mar 10, 2022

What does the heart icon mean?

@shanselman
Copy link
Author

shanselman commented Mar 10, 2022

@danield20
Copy link

danield20 commented Mar 15, 2022

Does this still work? For me it's a bit buggy, I think they migrated all the config options to other formats and when it is migrated automatically it breaks some stuff.

@benjamintemitope
Copy link

benjamintemitope commented Mar 17, 2022

Does this still work? For me it's a bit buggy, I think they migrated all the config options to other formats and when it is migrated automatically it breaks some stuff.

Yes, it is working. I just used it.

@msmolka
Copy link

msmolka commented Apr 5, 2022

for me it is also buggy:
obraz

@bplatypus
Copy link

bplatypus commented May 14, 2022

doesn't seem to work anymore. It's doing a migration:
Oh My Posh config migrated to version 2 Backup config available at C:\Users\username\AppData\Local\Programs\oh-my-posh\themes\ohmyposhv3-v2.json.bak

@EclipseDevelopment
Copy link

EclipseDevelopment commented Jun 9, 2022

For anyone having the heart/check error, try this.

Change This:
"template": " \ue23a{{ if gt .Code 0 }}\uf00d{{ else }}\uf42e{{ end }} ",
To this in your .json file:
"template": " \ue23a ",

@hero3616
Copy link

hero3616 commented Jun 20, 2022

EclipseDevelopment thank you for the tip. It worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment