mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
theme(m365princess): include pnp posh env variables
This commit is contained in:
parent
7cb30a7f78
commit
693111c0c6
|
@ -1,6 +1,36 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||||
"blocks": [
|
"blocks": [
|
||||||
|
{
|
||||||
|
"alignment": "left",
|
||||||
|
"segments": [
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"style": "diamond",
|
||||||
|
"leading_diamond": "\ue0b6",
|
||||||
|
"foreground": "#ffffff",
|
||||||
|
"background": "#cc3802",
|
||||||
|
"template": "{{ if .Env.PNPPSHOST }} \uf8c5 {{ .Env.PNPPSHOST }} {{ end }}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"style": "powerline",
|
||||||
|
"foreground": "#ffffff",
|
||||||
|
"background": "#047e84",
|
||||||
|
"powerline_symbol": "\ue0b0",
|
||||||
|
"template": "{{ if .Env.PNPPSSITE }} \uf672 {{ .Env.PNPPSSITE }}{{ end }}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"style": "diamond",
|
||||||
|
"trailing_diamond": "\ue0b4",
|
||||||
|
"foreground": "#ffffff",
|
||||||
|
"background": "#047e84",
|
||||||
|
"template": "{{ if .Env.PNPPSSITE }}\u00A0{{ end }}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "rprompt"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"alignment": "left",
|
"alignment": "left",
|
||||||
"segments": [
|
"segments": [
|
||||||
|
|
Loading…
Reference in a new issue