Last active
November 13, 2025 10:26
-
-
Save alonstar/e9062bafe8c6ec26d019efded4d71ee3 to your computer and use it in GitHub Desktop.
OH My POSH Template
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
| $schema: https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json | |
| blocks: | |
| - segments: | |
| - type: dotnet | |
| style: powerline | |
| foreground: "#000000" | |
| background: "#00ffff" | |
| powerline_symbol: "\uE0c4" | |
| leading_powerline_symbol: "\uE0c5" | |
| template: " {{ .Full }} " | |
| - type: executiontime | |
| style: powerline | |
| foreground: "#ffffff" | |
| background: "#8800dd" | |
| template: " <#fefefe></> {{ .FormattedMs }} " | |
| powerline_symbol: "\uE0c4" | |
| leading_powerline_symbol: "\uE0c5" | |
| properties: | |
| threshold: 500 | |
| style: austin | |
| always_enabled: true | |
| type: rprompt | |
| - alignment: left | |
| newline: true | |
| segments: | |
| - type: shell | |
| style: powerline | |
| powerline_symbol: | |
| foreground: "#ffffff" | |
| background: "#0077c2" | |
| leading_powerline_symbol: | |
| properties: | |
| mapped_shell_names: | |
| pwsh: PS | |
| cmd: CMD | |
| - type: session | |
| style: powerline | |
| foreground: "#ffffff" | |
| background: "#c386f1" | |
| powerline_symbol: | |
| template: "{{ if .SSHSession }} {{ end }} {{ .UserName }} " | |
| - foreground: "#007ACC" | |
| template: " {{ .CurrentDate | date .Format }} " | |
| properties: | |
| time_format: 15:04:05 | |
| style: plain | |
| type: time | |
| - foreground: "#100e23" | |
| background: "#91ddff" | |
| powerline_symbol: | |
| template: " {{ .Path }} " | |
| properties: | |
| style: folder | |
| exclude_folders: | |
| - /super/secret/project | |
| style: powerline | |
| type: path | |
| - background: "#2e9599" | |
| background_templates: | |
| - "{{ if or (.Working.Changed) (.Staging.Changed) }}#f36943{{ end }}" | |
| - "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#a8216b{{ end }}" | |
| - "{{ if gt .Ahead 0 }}#35b5ff{{ end }}" | |
| - "{{ if gt .Behind 0 }}#f89cfa{{ end }}" | |
| foreground: "#193549" | |
| foreground_templates: | |
| - "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ffffff{{ end }}" | |
| powerline_symbol: | |
| template: " {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }} " | |
| properties: | |
| branch_template: "{{ trunc 25 .Branch }}" | |
| fetch_status: true | |
| style: powerline | |
| type: git | |
| type: prompt | |
| final_space: true | |
| version: 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment