Skip to content

Instantly share code, notes, and snippets.

@deyvicode
Last active December 27, 2021 14:23
Show Gist options
  • Save deyvicode/26f8cded936f34ab9ff2172d915362d2 to your computer and use it in GitHub Desktop.
Save deyvicode/26f8cded936f34ab9ff2172d915362d2 to your computer and use it in GitHub Desktop.
My Custom Shell Themes

Personalización del la terminal en windows con:

  • PowerShell
  • Oh-my-posh
  • Fluent Terminal

deyvi-lean-prev.jpg

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "session",
"style": "diamond",
"foreground": "#ffffff",
"background": "#3d94db",
"properties": {
"template": "{{ .UserName }}"
}
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#C678DD",
"properties": {
"style": "full"
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#193549",
"background": "#95ffa4",
"properties": {
"template": "{{ .HEAD }}"
}
},
{
"type": "python",
"style": "diamond",
"foreground": "#ffffff",
"background": "#FF6471",
"leading_diamond": "<transparent,background>\uE0B0</>",
"trailing_diamond": "\uE0B4"
}
]
}
],
"final_space": true
}
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "right",
"vertical_offset": -1,
"segments": [
{
"type": "time",
"style": "plain",
"foreground": "#a0a1a1",
"properties": {
"time_format": "15:04:05"
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "path",
"style": "plain",
"foreground": "#77E4F7",
"properties": {
"prefix": "",
"style": "full"
}
},
{
"type": "git",
"style": "plain",
"foreground": "#95ffa4",
"properties": {
"prefix": "",
"template": "{{ .HEAD }}"
}
},
{
"type": "text",
"style": "plain",
"foreground": "#95ffa4",
"properties": {
"prefix": "",
"text": "\u276F"
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment