Created
          July 24, 2023 14:44 
        
      - 
      
 - 
        
Save SumirVats2003/d81ec7c8a19872bb5186ec65018ad949 to your computer and use it in GitHub Desktop.  
    OhMyPosh Theme 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
    
  
  
    
  | { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "blocks": [ | |
| { | |
| "alignment": "left", | |
| "newline": true, | |
| "segments": [ | |
| { | |
| "foreground": "#757575", | |
| "style": "plain", | |
| "template": "\u250c {{ .UserName }}@{{ .HostName }} ", | |
| "type": "session" | |
| }, | |
| { | |
| "background": "#268bff", | |
| "foreground": "#fff", | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "style": "folder" | |
| }, | |
| "style": "powerline", | |
| "template": " {{ .Folder }} ", | |
| "type": "path" | |
| }, | |
| { | |
| "background": "#4bfa64", | |
| "background_templates": [ | |
| "{{ if or (.Working.Changed) (.Staging.Changed) }}#4bfa64{{ end }}", | |
| "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#4bfa64{{ end }}", | |
| "{{ if gt .Ahead 0 }}#4bfa64{{ end }}", | |
| "{{ if gt .Behind 0 }}#4bfa64{{ end }}" | |
| ], | |
| "foreground": "#100e23", | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "branch_ahead_icon": "\u2191", | |
| "branch_behind_icon": "\u2193", | |
| "branch_gone": "\u2262", | |
| "branch_icon": "\ue0a0 ", | |
| "branch_identical_icon": "\u2261", | |
| "cherry_pick_icon": "\u2713 ", | |
| "commit_icon": "\u25b7 ", | |
| "fetch_stash_count": true, | |
| "fetch_status": true, | |
| "merge_icon": "\u25f4 ", | |
| "no_commits_icon": "[no commits]", | |
| "rebase_icon": "\u2c62 ", | |
| "tag_icon": "\u25b6 " | |
| }, | |
| "style": "powerline", | |
| "template": " {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} \u2502{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} ", | |
| "type": "git" | |
| }, | |
| { | |
| "background": "#ffee58", | |
| "foreground": "#100e23", | |
| "powerline_symbol": "\ue0b0", | |
| "style": "powerline", | |
| "template": " {{ .WorkspaceName }} ", | |
| "type": "terraform" | |
| }, | |
| { | |
| "background": "#ff8080", | |
| "foreground": "#ffffff", | |
| "powerline_symbol": "\ue0b0", | |
| "style": "powerline", | |
| "template": " error ", | |
| "type": "status" | |
| } | |
| ], | |
| "type": "prompt" | |
| }, | |
| { | |
| "alignment": "left", | |
| "newline": true, | |
| "segments": [ | |
| { | |
| "foreground": "#757575", | |
| "style": "plain", | |
| "template": "\u2514 ", | |
| "type": "text" | |
| }, | |
| { | |
| "foreground": "#ffffff", | |
| "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