Last active
April 12, 2022 10:16
-
-
Save anoopt/6e0e3fe5e9f2dcfe59bc6d6e0fc8dc52 to your computer and use it in GitHub Desktop.
SharePoint site info in oh-my-posh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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": "prompt" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment