Created
December 25, 2025 22:05
-
-
Save drjackild/cfaa4ff558366d8117570d071cd0a202 to your computer and use it in GitHub Desktop.
Oh-my-posh shell config
This file contains hidden or 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
| # Place inside ~/.config/oh-my-posh/config.omp.toml | |
| # In your .zshrc (zsh) put at the end: | |
| # eval "$(oh-my-posh init zsh --config '/home/drjackild/.config/oh-my-posh/config.omp.toml')" | |
| console_title_template = '{{if .Root}}(Admin){{end}} {{.PWD}}' | |
| version = 3 | |
| [transient_prompt] | |
| template = '❯ ' | |
| foreground = '#B48EAD' | |
| foreground_templates = ['{{ if gt .Code 0 }}#BF616A{{ end }}'] | |
| [upgrade] | |
| source = 'cdn' | |
| interval = '168h' | |
| auto = false | |
| notice = false | |
| [[blocks]] | |
| type = 'prompt' | |
| alignment = 'left' | |
| [[blocks.segments]] | |
| template = '{{ .UserName }} ' | |
| foreground = '#BF616A' | |
| type = 'session' | |
| style = 'plain' | |
| [[blocks.segments]] | |
| template = '{{ .Path }} ' | |
| foreground = '#81A1C1' | |
| type = 'path' | |
| style = 'plain' | |
| [blocks.segments.options] | |
| style = 'full' | |
| [[blocks]] | |
| type = 'prompt' | |
| alignment = 'left' | |
| [[blocks.segments]] | |
| template = '{{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}<#FFAFD7>*</>{{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} ' | |
| foreground = '#6C6C6C' | |
| type = 'git' | |
| style = 'plain' | |
| [blocks.segments.options] | |
| branch_ahead_icon = '<#88C0D0>⇡ </>' | |
| branch_behind_icon = '<#88C0D0>⇣ </>' | |
| branch_icon = '' | |
| fetch_status = true | |
| fetch_upstream_icon = true | |
| github_icon = '' | |
| [[blocks]] | |
| type = 'prompt' | |
| alignment = 'left' | |
| [[blocks.segments]] | |
| template = ' {{ .FormattedMs }} ' | |
| foreground = '#A3BE8C' | |
| type = 'executiontime' | |
| style = 'plain' | |
| [blocks.segments.options] | |
| style = 'austin' | |
| [[blocks]] | |
| type = 'prompt' | |
| alignment = 'left' | |
| newline = true | |
| [[blocks.segments]] | |
| template = '❯ ' | |
| foreground = '#B48EAD' | |
| type = 'status' | |
| style = 'plain' | |
| foreground_templates = ['{{ if gt .Code 0 }}#BF616A{{ end }}'] | |
| [blocks.segments.options] | |
| always_enabled = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment