Skip to content

Instantly share code, notes, and snippets.

@fmolliet
Created May 18, 2023 02:40
Show Gist options
  • Select an option

  • Save fmolliet/ea2a274072c176068b9c93ece09269e4 to your computer and use it in GitHub Desktop.

Select an option

Save fmolliet/ea2a274072c176068b9c93ece09269e4 to your computer and use it in GitHub Desktop.
My Ohmyposh theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "#D75F00",
"style": "plain",
"template": "λ ",
"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": "java",
"style": "powerline",
"foreground": "#4063D8",
"template": " ☕ {{ .Full }}"
},
{
"type": "node",
"style": "powerline",
"foreground": "#6CA35E",
"template": " 🥑 {{ .Full }} "
},
{
"type": "rust",
"style": "powerline",
"foreground": "#fc5513",
"template": " 🦀 {{ .Full }} "
},
{
"type": "executiontime",
"style": "powerline",
"foreground": "#8800dd",
"template": " ⌛ {{ .FormattedMs }} ",
"properties": {
"threshold": 1,
"style": "roundrock"
}
}
],
"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