Skip to content

Instantly share code, notes, and snippets.

@charlesroper
Last active February 26, 2021 23:11
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 charlesroper/a47f20c4be0daab37edd50bbb52fc8e6 to your computer and use it in GitHub Desktop.
Save charlesroper/a47f20c4be0daab37edd50bbb52fc8e6 to your computer and use it in GitHub Desktop.
Oh my Posh 3 custom theme - wslton. Based on negligible.
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "os",
"style": "plain",
"foreground": "green",
"properties": {
"wsl": "",
"wsl_separator": "",
"prefix": "[<#E95420>",
"postfix": "</> "
}
},
{
"type": "envvar",
"style": "plain",
"powerline_symbol": "\uE0B0",
"foreground": "green",
"properties": {
"var_name": "WSL_DISTRO_NAME",
"prefix": "",
"postfix": "]"
}
},
{
"type": "path",
"style": "plain",
"foreground": "cyan",
"properties": {
"style": "full"
}
},
{
"type": "git",
"style": "plain",
"foreground": "lightYellow",
"properties": {
"prefix": ":: <lightBlue>git(</>",
"postfix": "<lightBlue>)</>"
}
}
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"type": "python",
"style": "plain",
"foreground": "lightRed",
"properties": {
"display_virtual_env": true,
"display_version": false,
"prefix": "[ ",
"postfix": " ]",
"display_mode": "always"
}
},
{
"type": "time",
"style": "plain",
"foreground": "lightGreen"
}
]
},
{
"type": "newline"
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "exit",
"style": "powerline",
"foreground": "lightGreen",
"properties": {
"display_exit_code": false,
"always_enabled": true,
"error_color": "red",
"prefix": "\u279c"
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment