Created
August 4, 2023 07:28
-
-
Save roycyt/bf0f74a0d0a3c4b04eeb8468fa5189b9 to your computer and use it in GitHub Desktop.
roy.omp.json
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", | |
"newline": true, | |
"segments": [ | |
{ | |
"foreground": "#ffffff", | |
"style": "plain", | |
"template": "<#69FF94>\u276f</><#C591E8>\u276f</><#CACA02>\u276f</> ", | |
"type": "text" | |
}, | |
{ | |
"foreground": "red", | |
"style": "plain", | |
"template": " % ", | |
"type": "root" | |
}, | |
{ | |
"style": "plain", | |
"template": "<cyan>{{ .UserName }}</> <darkGray>@</> <green>{{ .HostName }}</> ", | |
"type": "session" | |
}, | |
{ | |
"foreground": "lightYellow", | |
"properties": { | |
"style": "full" | |
}, | |
"style": "plain", | |
"template": "<darkGray>in </>{{ .Path }} ", | |
"type": "path" | |
}, | |
{ | |
"style": "plain", | |
"template": "<darkGray>on</> <white>git:</>{{ .HEAD }} ", | |
"type": "git" | |
}, | |
{ | |
"foreground": "darkGray", | |
"style": "plain", | |
"template": "[{{ .CurrentDate | date .Format }}]", | |
"type": "time" | |
}, | |
{ | |
"foreground": "red", | |
"style": "plain", | |
"template": " C:{{ if gt .Code 0 }}{{ .Code }}{{ end }} ", | |
"type": "exit" | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "python", | |
"style": "plain", | |
"template": " 🐍 {{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }} ", | |
"properties": { | |
"home_enabled": true | |
} | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "left", | |
"newline": true, | |
"segments": [ | |
{ | |
"foreground": "lightRed", | |
"style": "plain", | |
"template": "$", | |
"type": "text" | |
} | |
], | |
"type": "prompt" | |
} | |
], | |
"final_space": true, | |
"version": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment