Created
April 27, 2022 08:14
-
-
Save ColinTimBarndt/e7180f376a8a3c096f658084443d2c73 to your computer and use it in GitHub Desktop.
Oh My Posh Theme
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
eval "$(oh-my-posh init zsh --config ~/.poshthemes/colin.omp.json)" | |
enable_poshtooltips |
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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#81af4c", | |
"foreground": "#fff", | |
"leading_diamond": "\ue0d4", | |
"style": "diamond", | |
"template": " \ue22f{{ .UserName }} ", | |
"trailing_diamond": "", | |
"type": "session" | |
}, | |
{ | |
"background": "#6f9b3e", | |
"foreground": "#fff", | |
"style": "powerline", | |
"powerline_symbol": "\ue0c6", | |
"properties": { | |
"style": "folder", | |
"exclude_folders": [ | |
".*/\\.minecraft/(saves/[^/]/datapacks|resourcepacks)/[^/]+/.*" | |
] | |
}, | |
"template": " \uf74a{{ .Path }} ", | |
"type": "path" | |
}, | |
{ | |
"background": "#6f9b3e", | |
"foreground": "#fff", | |
"style": "powerline", | |
"powerline_symbol": "\ue0c6", | |
"properties": { | |
"style": "folder", | |
"include_folders": [ | |
".*/\\.minecraft/(saves/[^/]/datapacks|resourcepacks)/[^/]+/.*" | |
] | |
}, | |
"template": " \uf872{{ .Path }} ", | |
"type": "path" | |
}, | |
{ | |
"background": "#5b812e", | |
"foreground": "#fff", | |
"style": "powerline", | |
"powerline_symbol": "\ue0c6", | |
"template": " {{ .HEAD }} ", | |
"type": "git" | |
}, | |
{ | |
"background": "transparent", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b0", | |
"template": "\u00a0", | |
"type": "text" | |
} | |
], | |
"type": "prompt" | |
} | |
], | |
"secondary_prompt": { | |
"background": "transparent", | |
"foreground": "#81af4c", | |
"template": "\ue0b1 " | |
}, | |
"final_space": false, | |
"version": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment