Skip to content

Instantly share code, notes, and snippets.

@shawnwildermuth
Last active October 18, 2021 12:24
Show Gist options
  • Save shawnwildermuth/c4bfd1724a138496cdffacf1df2051ea to your computer and use it in GitHub Desktop.
Save shawnwildermuth/c4bfd1724a138496cdffacf1df2051ea to your computer and use it in GitHub Desktop.
My oh-my-posh Configuration
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [{
"type": "prompt",
"alignment": "left",
"segments": [{
"type": "root",
"style": "powerline",
"powerline_symbol": "\uE0B8",
"background": "#be8c00",
"foreground": "#2a2600",
"properties": {
"root_icon": "\uF49c",
"postfix": " ",
"prefix": " "
}
},
{
"type": "time",
"style": "powerline",
"powerline_symbol": "\uE0B8",
"background": "#be8c00",
"foreground": "#2a2600",
"properties": {
"time_format": "15:04pm",
"prefix": "",
"postfix": ""
}
},
{
"type": "dotnet",
"style": "powerline",
"powerline_symbol": "\uE0B8",
"background": "#be8c00",
"foreground": "#00185c",
"properties": {
"display_version": false,
"postfix": "\ue70c ",
"prefix": ""
}
},
{
"type": "envvar",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"background": "#be8c00",
"foreground": "#00185c",
"properties": {
"var_name": "ASPNETCORE__ENVIRONMENT",
"prefix": "{",
"postfix": "}"
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\uE0B8",
"background": "#be8c00",
"foreground": "#113b00",
"properties": {
"display_status": false,
"prefix": "",
"postfix": ""
}
},
{
"type": "executiontime",
"style": "powerline",
"powerline_symbol": "\uE0B8",
"background": "#be8c00",
"foreground": "#2a0000",
"properties": {
"threshold": 100,
"style": "austin",
"always_enabled": false
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [{
"type": "path",
"style": "plain",
"foreground": "#d1d1d1",
"properties": {
"postfix": ">",
"prefix": ""
}
}]
}
],
"transient_prompt": {
"background": "transparent",
"foreground": "#ffffff",
"template": "{{ .Path }}>"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment