Skip to content

Instantly share code, notes, and snippets.

@xeladu
Last active April 6, 2022 21:29
Show Gist options
  • Save xeladu/c2f5877755913b2ffcc02c338c2eb6b1 to your computer and use it in GitHub Desktop.
Save xeladu/c2f5877755913b2ffcc02c338c2eb6b1 to your computer and use it in GitHub Desktop.
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"type": "os",
"style": "diamond",
"background": "#3A86FF",
"foreground": "#ffffff",
"leading_diamond": "\ue0b2",
"properties": {
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} "
}
},
{
"type": "path",
"style": "powerline",
"background": "#00c9fc",
"foreground": "#193549",
"powerline_symbol": "\ue0b0",
"properties": {
"style": "folder",
"template": " \uF07C {{ .Path }} "
}
},
{
"type": "time",
"style": "powerline",
"background": "#fcff66",
"foreground": "#193549",
"powerline_symbol": "\ue0b0",
"properties": {
"template": " {{ .CurrentDate | date .Format }} ",
"time_format": "15:04:05"
}
},
{
"type": "git",
"style": "powerline",
"foreground": "#193549",
"background": "#f34223",
"powerline_symbol": "\ue0b0",
"properties": {
"template": " \uE702 {{ .HEAD }} "
}
},
{
"type": "dotnet",
"style": "powerline",
"foreground": "#193549",
"background": "#c125ff",
"powerline_symbol": "\ue0b0",
"properties": {
"template": " \uE70C {{ .Full }} "
}
},
{
"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": " "
}
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"properties": {
"template": "$"
},
"style": "plain",
"type": "text"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment