Skip to content

Instantly share code, notes, and snippets.

@mizanmahi
Last active September 13, 2023 08:41
Show Gist options
  • Save mizanmahi/fa088f4a7668250bbb85280a44c32bf3 to your computer and use it in GitHub Desktop.
Save mizanmahi/fa088f4a7668250bbb85280a44c32bf3 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": [
{
"foreground": "#01F0FF",
"style": "plain",
"template": " {{ .UserName }} ",
"type": "session"
},
{
"foreground": "#3fb500",
"style": "plain",
"template": "\uea83",
"type": "text"
},
{
"foreground": "#3fb500",
"properties": {
"style": "folder",
"folder_icon": ".."
},
"style": "plain",
"template": " {{ .Path }}",
"type": "path"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"foreground": "#01F0FF",
"style": "plain",
"template": " \ueb00",
"type": "text"
},
{
"foreground": "#3fb500",
"properties": {
"branch_icon": " \udb81\ude2c "
},
"style": "plain",
"template": " <#01F0FF>git</>{{ .HEAD }}<#01F0FF></>",
"type": "git"
},
{
"foreground": "#3fb500",
"style": "plain",
"template": " \uf119",
"type": "exit"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#01F0FF",
"style": "plain",
"template": " \udb85\udfa9",
"type": "text"
},
{
"foreground": "#01F0FF",
"style": "plain",
"template": " \uf119",
"type": "exit"
}
],
"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