Skip to content

Instantly share code, notes, and snippets.

@Brar
Created March 21, 2023 10:01
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 Brar/105ea7d435296aaae5ac14c2ee29ce84 to your computer and use it in GitHub Desktop.
Save Brar/105ea7d435296aaae5ac14c2ee29ce84 to your computer and use it in GitHub Desktop.
My Oh My Posh theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "#ffffff",
"style": "plain",
"template": "<#CB4B16>[</>{{ .UserName }} ({{ .OS }}-{{ .Shell }})<#CB4B16>]</>",
"type": "session"
},
{
"foreground": "#ffffff",
"style": "plain",
"template": "<#CB4B16>[</>{{ .HEAD }}<#CB4B16>]</>",
"type": "git"
},
{
"foreground": "#ffffff",
"style": "plain",
"template": "<#CB4B16>[</>\uf0e7<#CB4B16>]</>",
"type": "root"
},
{
"foreground": "#ffffff",
"style": "plain",
"template": "<#CB4B16>[x</>{{ .Meaning }}<#CB4B16>]</>",
"type": "exit"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#ffffff",
"properties": {
"style": "full"
},
"style": "plain",
"template": "<#CB4B16>\u2516[</>{{ .Path }}<#CB4B16>]></>",
"type": "path"
}
],
"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