Last active
June 6, 2024 07:21
-
-
Save cdcd72/5334062440da2892b01514e891d48ca1 to your computer and use it in GitHub Desktop.
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", | |
"console_title_template": " {{ .Folder }} :: {{if .Root}}Admin{{end}}", | |
"palette": { | |
"main-bg": "#24283b", | |
"terminal-blue": "#9cbbff", | |
"terminal-red": "#ff9797", | |
"terminal-yellow": "#ffffb9", | |
"terminal-green": "#d2ffa1", | |
"terminal-magenta": "#dcb5ff", | |
"terminal-pink": "#fcaeef", | |
"celeste-blue": "#b4f9f8", | |
"light-sky-blue": "#7dcfff", | |
"white-blue": "#a9b1d6", | |
"t-background": "p:main-bg" | |
}, | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "text", | |
"style": "plain", | |
"background": "transparent", | |
"foreground": "p:terminal-pink", | |
"template": "\u279c " | |
}, | |
{ | |
"type": "path", | |
"style": "plain", | |
"foreground": "p:terminal-magenta", | |
"properties": { | |
"style": "folder" | |
}, | |
"template": "<b>{{ .Path }}</b> <p:light-sky-blue>\u26a1</>" | |
}, | |
{ | |
"type": "git", | |
"style": "plain", | |
"foreground": "p:light-sky-blue", | |
"foreground_templates": [ | |
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:terminal-red{{ end }}", | |
"{{ if and (gt .Ahead 0) (gt .Behind 0)}}p:light-sky-blue {{ end }}", | |
"{{ if gt .Ahead 0 }}p:terminal-blue{{ end }}", | |
"{{ if gt .Behind 0 }}p:celeste-blue{{ end }}" | |
], | |
"template": "({{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }})", | |
"properties": { | |
"fetch_status": true, | |
"fetch_upstream_icon": true, | |
"branch_icon": "\ue725 " | |
} | |
}, | |
{ | |
"type": "status", | |
"style": "plain", | |
"foreground": "p:terminal-red", | |
"template": " \uf00d" | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "right", | |
"overflow": "hide", | |
"segments": [ | |
{ | |
"type": "dotnet", | |
"style": "plain", | |
"foreground": "p:terminal-magenta", | |
"template": " {{ .Full }} " | |
}, | |
{ | |
"type": "node", | |
"style": "plain", | |
"foreground": "p:terminal-green", | |
"template": "\ue718 {{ .Full }} " | |
}, | |
{ | |
"type": "python", | |
"style": "plain", | |
"foreground": "p:terminal-yellow", | |
"template": "\uE235 {{ .Full }}" | |
}, | |
{ | |
"type": "ruby", | |
"style": "plain", | |
"foreground": "p:terminal-red", | |
"template": "\uE791 {{ .Full}}" | |
}, | |
{ | |
"type": "go", | |
"style": "plain", | |
"foreground": "p:terminal-blue", | |
"template": "\uFCD1 {{ .Full}}" | |
}, | |
{ | |
"type": "command", | |
"style": "plain", | |
"foreground": "p:white-blue", | |
"properties": { | |
"command": "git log --pretty=format:%cr -1 || date +%H:%M:%S", | |
"shell": "bash" | |
} | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "left", | |
"newline": true, | |
"segments": [ | |
{ | |
"foreground": "p:terminal-green", | |
"style": "plain", | |
"template": "\u25b6", | |
"type": "text" | |
} | |
], | |
"type": "prompt" | |
} | |
], | |
"secondary_prompt": { | |
"background": "transparent", | |
"foreground": "p:terminal-blue", | |
"template": "\u279c " | |
}, | |
"transient_prompt": { | |
"background": "p:t-background", | |
"foreground": "p:terminal-blue", | |
"template": "\u279c " | |
}, | |
"final_space": true, | |
"version": 2, | |
"terminal_background": "p:t-background" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment