Skip to content

Instantly share code, notes, and snippets.

@matAlmeida
Created July 19, 2023 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matAlmeida/16020008610952a08079a6fb355a1801 to your computer and use it in GitHub Desktop.
Save matAlmeida/16020008610952a08079a6fb355a1801 to your computer and use it in GitHub Desktop.
Oh-My-Posh
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "lightYellow",
"style": "plain",
"template": "{{ .UserName }} ",
"type": "session"
},
{
"foreground": "cyan",
"properties": {
"style": "folder"
},
"style": "plain",
"template": "<#ffffff>in</> {{ .Path }} ",
"type": "path"
},
{
"foreground": "#ff94df",
"properties": {
"branch_icon": " <#ff94df><b>\ue0a0 </b></>",
"fetch_stash_count": true
},
"style": "plain",
"template": "<#ffffff>on</> {{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
"type": "git"
},
{
"type": "node",
"style": "plain",
"foreground": "#6CA35E",
"template": " {{ .Full }} "
},
{
"type": "flutter",
"style": "plain",
"foreground": "#06A4CE",
"template": " {{ .Full }} "
},
{
"type": "executiontime",
"style": "plain",
"foreground": "#8800dd",
"template": "<#fefefe>\u23f2 </> {{ .FormattedMs }} ",
"properties": {
"threshold": 500,
"style": "austin",
"always_enabled": true
}
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "lightGreen",
"style": "plain",
"template": "\u276f",
"type": "text"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment