Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Same tooltip does not work in following command #6059

Closed
1 task done
Sedwin97 opened this issue Dec 30, 2024 · 0 comments
Closed
1 task done

Same tooltip does not work in following command #6059

Sedwin97 opened this issue Dec 30, 2024 · 0 comments
Assignees
Labels
🐛 bug Something isn't working

Comments

@Sedwin97
Copy link

Code of Conduct

  • I agree to follow this project's Code of Conduct

What happened?

I have the tooltip git example and another for "perl". The tooltips will render the first time I type out the keyword, but in the next prompt, if I type the keyword again, it doesn't render.

image

Theme

{
  "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",

  "version": 3,
  "pwd": "osc99",
  "final_space": true,

  "palette": {
    "git-orange": "#f99821",
    "git-violet": "#4b4795"
  },

  "blocks": [
    // extra new line at beginning of prompt
    {
      "type": "prompt",
      "alignment": "left",
      "segments": [{
        "template": " \n",
        "type": "text"
      }]
    },

    // left aligned git repo and branch
    {
      "type": "prompt",
      "alignment": "left",
      "leading_diamond": " \ue0ba",
      "segments": [
          {
            "type": "git",
            "template": " \u0000 ",
            "style": "diamond",
            "background": "lightBlue",
            "trailing_diamond": "\ue0c6 "
          },
          {
            "trailing_diamond": "\ue0c6 ",
            "template": " {{ .RepoName}} ",
            "foreground": "#000",
            "background": "p:git-violet",
            "type": "git",
            "style": "diamond"
          },
          {
            "properties": {
              "branch_icon": "\ue725 ",
              "fetch_status": true,
              "fetch_stash_count": true,
              "fetch_upstream_icon": true,
              "branch_max_length": 35,
              "truncate_symbol": "..."
            },
            "trailing_diamond": "\ue0c6 ",
            "template": "{{ .HEAD }}",
            "foreground": "#000",
            "background": "p:git-orange",
            "type": "git",
            "style": "diamond"
          }
      ],
      "newline": true
    },

    // right aligned git status
    {
        "type": "prompt",
        "alignment": "right",
        "trailing_diamond": "\ue0b8  ",
        "segments": [
            {
              "properties": {
                "fetch_status": true,
                "fetch_stash_count": true,
                "fetch_upstream_icon": true
              },
              "leading_diamond": "\ue0c7 ",
              "template": " {{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#CAEBE1> \uf046 {{ .Staging.String }}</>{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
              "foreground": "#000",
              "background": "p:git-violet",
              "type": "git",
              "style": "diamond",
              "background_templates": [
                "{{ if or (.Staging.Changed) }}#94CA00{{ end }}",
                "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#9d0226{{ end }}",
                "{{ if gt .Ahead 0 }}#B787D7{{ end }}",
                "{{ if gt .Behind 0 }}#9d0226{{ end }}"
              ]
            },
            {
              "type": "git",
              "template": " \u0000 ",
              "style": "diamond",
              "background": "lightBlue",
              "leading_diamond": "\ue0c7 "
            }
        ]
    },

    // left aligned path
    {
      "type": "prompt",
      "alignment": "left",
      "leading_diamond": "\ue0b2",
      // "trailing_diamond": "\ue0b0",
      "segments": [
          {
            "type": "text",
            "template": " \udb82\ude0a  ",
            "style": "diamond",
            "foreground": "#000",
            "background": "lightBlue",
            "trailing_diamond": "\ue0c6 "
          },
          {
            "properties": {
              "max_depth": 5,
              "style": "agnoster_short",
              "home_icon": "\udb80\udedc ",
              "folder_icon": "\b\uf090 ",
              "folder_separator_icon": "\uf090  ",
              "cache_duration": "none"
            },
            "trailing_diamond": "\ue0c6 ",
            "template": " \ue5fe  {{ .Path }}",
            "foreground": "#000",
            "background": "lightCyan",
            "type": "path",
            "style": "diamond"
          }
      ],
      "newline": true
    },

    // right aligned execution time and exit code
    {
      "type": "prompt",
      "alignment": "right",
      "trailing_diamond": "\ue0b0",
      "segments": [
        {
          "properties": {
            "style": "roundrock",
            "threshold": 0
          },
          "style": "diamond",
          "leading_diamond": "\ue0c7 ",
          "template": " \udb81\udd1b {{ .FormattedMs }} ",
          "foreground": "#D6DEEB",
          "background": "#575656",
          "type": "executiontime"
        },
        {
          "properties": {
            "always_enabled": true
          },
          "style": "diamond",
          "leading_diamond": "\ue0c7 ",
          "template": "  {{ if gt .Code 0 }}\uf00d{{ else }}\uf00c{{ end }}  ",
          "foreground": "#414141",
          "background": "#03DED3",
          "type": "status",
          "foreground_templates": [
            "{{ if gt .Code 0 }}#D6DEEB{{ end }}"
          ],
          "background_templates": [
            "{{ if gt .Code 0 }}#E44141{{ end }}"
          ]
        },
        {
          "type": "text",
          "template": "  \u0000  ",
          "style": "diamond",
          "background": "lightBlue",
          "leading_diamond": "\ue0c7 "
        }
      ]
    },

    // left aligned time and prompt
    {
      "type": "prompt",
      "alignment": "left",
      "leading_diamond": " \ue0be",
      "trailing_diamond": "\ue0b0",
      "segments": [
        {
          "type": "text",
          "template": " \u0000 ",
          "style": "diamond",
          "foreground": "lightBlue",
          "background": "lightBlue",
          "trailing_diamond": "\ue0c6 "
        },
        {
          "type": "root",
          "style": "diamond",
          "template": " \udb81\udc83 ",
          "foreground": "#D6DEEB",
          "trailing_diamond": "\ue0c6 ",
          "background": "red"
        },
        {
          "type": "text",
          "template": ">",
          "style": "diamond",
          "foreground": "#000",
          "background": "#fff",
          "trailing_diamond": "\ue0c6 "
        }
      ],
      "newline": true
    }
  ],

  "secondary_prompt": {
    "template": "  <#fff,#>\ue0c7 </><#000,#fff> ></><#fff,#>\ue0b0 </>"
  },

  "tooltips": [
    // perl --> PERL5LIB
    {
      "type": "text",
      "style": "diamond",
      "foreground": "#193549",
      "background": "#fffb38",
      "leading_diamond": "",
      "trailing_diamond": "",

      "tips": [ "perl" ],
      "template": "PERL5LIB:{{ .Env.PERL5LIB }}"
    },

    // From example
    // g(it)? --> git status
    {
      "type": "git",
      "tips": [
        "git",
        "g"
      ],
      "style": "diamond",
      "foreground": "#193549",
      "background": "#fffb38",
      "leading_diamond": "",
      "trailing_diamond": "",
      "template": "{{ .HEAD }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}",
      "properties": {
        "fetch_status": true,
        "fetch_upstream_icon": true
      }
    }
  ]
}

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

> oh-my-posh debug --plain

Version: 24.17.1

Shell: pwsh (7.4.6)

Prompt:



     oh-my-posh   main                                                                                     ≡    
 󰨊      C:  oh-my-posh                                                                          󰔛 0ms           
    >

Segments:

ConsoleTitle(false)                        -   0 ms
Text(true)                                 -   0 ms
Git(true)                                  -   8 ms
Git(true)                                  -   8 ms
Git(true)                                  -  63 ms
Git(true)                                  -  60 ms
Git(true)                                  -  10 ms
Text(true)                                 -   0 ms
Path(true)                                 -   0 ms
Executiontime(true)                        -   0 ms
Status(true)                               -   0 ms
Text(true)                                 -   0 ms
Text(true)                                 -   0 ms
Root(false)                                -   0 ms
Text(true)                                 -   0 ms

Run duration: 135.9282ms

Cache path: C:\Users\sedwin\AppData\Local\oh-my-posh

Config path: C:\Users\sedwin\Documents\OhMyPosh\breaker.omp.json

Logs:

[DEBUG] 10:07:36.497 command.go:execute:989 → debug mode enabled
[DEBUG] 10:07:36.497 debug.go:40 → config set using POSH_THEME: C:\Users\sedwin\Documents\OhMyPosh\breaker.omp.json
[TRACE] 10:07:36.497 debug.go() - 0s
[TRACE] 10:07:36.498 load.go:Load() - 1.1039ms
[TRACE] 10:07:36.498 debug.go() - 1.1039ms
[DEBUG] 10:07:36.498 debug.go:52 → plain mode enabled
[TRACE] 10:07:36.499 terminal.go() - 0s
[DEBUG] 10:07:36.499 terminal.go:59 → loading cache file: C:\Users\sedwin\AppData\Local\oh-my-posh\omp.cache
[DEBUG] 10:07:36.499 terminal.go:59 → loading cache key: notice
[DEBUG] 10:07:36.499 terminal.go:59 → loading cache key: upgrade
[DEBUG] 10:07:36.499 terminal.go:59 → loading cache key: upgrade_check
[TRACE] 10:07:36.499 terminal.go(C:\Users\sedwin\AppData\Local\oh-my-posh\omp.cache) - 42.7µs
[TRACE] 10:07:36.499 terminal.go() - 0s
[DEBUG] 10:07:36.499 terminal.go:59 → loading cache file: C:\Users\sedwin\AppData\Local\oh-my-posh\omp.cache.d1b664a7-3a71-43fe-a2da-6648ba642015
[DEBUG] 10:07:36.499 terminal.go:59 → loading cache key: template_cache
[DEBUG] 10:07:36.499 terminal.go:59 → loading cache key: prompt_count_cache
[TRACE] 10:07:36.499 terminal.go(C:\Users\sedwin\AppData\Local\oh-my-posh\omp.cache.d1b664a7-3a71-43fe-a2da-6648ba642015) - 0s
[TRACE] 10:07:36.499 terminal.go:Init() - 0s
[TRACE] 10:07:36.499 terminal.go() - 0s
[DEBUG] 10:07:36.499 terminal.go:Init:67 → C:\oh-my-posh
[TRACE] 10:07:36.499 terminal.go:Init() - 0s
[TRACE] 10:07:36.499 debug.go() - 549.5µs
[TRACE] 10:07:36.499 init.go:Init() - 0s
[TRACE] 10:07:36.499 cache.go:loadCache() - 0s
[TRACE] 10:07:36.500 cache.go:loadCache() - 506.6µs
[DEBUG] 10:07:36.500 debug.go:61 → terminal program: Windows Terminal
[DEBUG] 10:07:36.500 debug.go:61 → terminal shell: shell
[DEBUG] 10:07:36.500 config.go:MakeColors:58 → NO DATA
[TRACE] 10:07:36.500 config.go:MakeColors(OMP_CACHE_DISABLED) - 0s
[TRACE] 10:07:36.500 colors_windows.go:GetAccentColor(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[DEBUG] 10:07:36.500 colors_windows.go:GetAccentColor:19 → ColorizationColor(DWORD): 0xC4064D6F
[TRACE] 10:07:36.500 colors.go:SetAccentColor() - 0s
[TRACE] 10:07:36.500 colors.go:MakeColors() - 0s
[TRACE] 10:07:36.500 debug.go:PrintDebug() - 0s
[DEBUG] 10:07:36.500 debug.go:PrintDebug:16 → 7.4.6
[TRACE] 10:07:36.500 debug.go:PrintDebug(POSH_SHELL_VERSION) - 0s
[DEBUG] 10:07:36.500 debug.go:72 → segment: Title
[TRACE] 10:07:36.500 engine.go:getTitleTemplateText() - 0s
[TRACE] 10:07:36.500 primary.go:needsPrimaryRightPrompt() - 0s
[DEBUG] 10:07:36.500 terminal.go:CursorPosition:583 → 36
[TRACE] 10:07:36.500 terminal.go:CursorPosition(POSH_CURSOR_LINE) - 0s
[DEBUG] 10:07:36.500 terminal.go:CursorPosition:587 → 1
[TRACE] 10:07:36.500 terminal.go:CursorPosition(POSH_CURSOR_COLUMN) - 0s
[TRACE] 10:07:36.500 primary.go:writePrimaryPrompt() - 0s
[TRACE] 10:07:36.500 primary.go:writePrimaryPrompt() - 0s
[TRACE] 10:07:36.500 segment.go:Execute() - 0s
[DEBUG] 10:07:36.500 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.500 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.500 segment.go:Execute:110 → segment: Text
[DEBUG] 10:07:36.500 segment.go:Execute:112 → no toggles found
[TRACE] 10:07:36.500 segment.go:string(
) - 0s
[TRACE] 10:07:36.500 segment.go:resolve() - 0s
[TRACE] 10:07:36.500 engine.go:applyPowerShellBleedPatch() - 0s
[TRACE] 10:07:36.500 segment.go:Execute() - 0s
[DEBUG] 10:07:36.500 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.500 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.500 segment.go:Execute:110 → segment: Git
[DEBUG] 10:07:36.500 segment.go:Execute:112 → no toggles found
[TRACE] 10:07:36.500 segment.go:Execute() - 0s
[TRACE] 10:07:36.500 scm.go:hasCommand() - 0s
[DEBUG] 10:07:36.500 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.500 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.500 segment.go:Execute:110 → segment: Git
[TRACE] 10:07:36.500 segment.go:Execute() - 0s
[DEBUG] 10:07:36.500 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.500 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.500 segment.go:Execute:110 → segment: Git
[DEBUG] 10:07:36.500 segment.go:Execute:112 → no toggles found
[TRACE] 10:07:36.500 scm.go:hasCommand() - 0s
[DEBUG] 10:07:36.500 segment.go:Execute:112 → no toggles found
[TRACE] 10:07:36.501 scm.go:hasCommand() - 0s
[DEBUG] 10:07:36.508 terminal.go:HasCommand:323 → c:\Program Files\Git\bin\git.exe
[DEBUG] 10:07:36.508 terminal.go:HasCommand:323 → c:\Program Files\Git\bin\git.exe
[TRACE] 10:07:36.508 terminal.go:HasCommand(git.exe) - 7.3851ms
[TRACE] 10:07:36.508 terminal.go:HasCommand(git.exe) - 7.9074ms
[TRACE] 10:07:36.508 scm.go:hasCommand(git.exe) - 7.3851ms
[TRACE] 10:07:36.508 scm.go:hasCommand(git.exe) - 7.9143ms
[DEBUG] 10:07:36.508 git.go:shouldDisplay:337 → fetch_bare_info: false
[DEBUG] 10:07:36.508 git.go:shouldDisplay:337 → fetch_bare_info: false
[DEBUG] 10:07:36.508 terminal.go:HasCommand:323 → c:\Program Files\Git\bin\git.exe
[TRACE] 10:07:36.508 terminal.go:HasCommand(git.exe) - 7.9143ms
[TRACE] 10:07:36.508 scm.go:hasCommand(git.exe) - 7.9143ms
[DEBUG] 10:07:36.508 git.go:shouldDisplay:337 → fetch_bare_info: false
[DEBUG] 10:07:36.508 terminal.go:HasParentFilePath:446 → C:\oh-my-posh
[TRACE] 10:07:36.508 terminal.go:HasParentFilePath(C:\oh-my-posh) - 0s
[DEBUG] 10:07:36.508 terminal.go:HasParentFilePath:446 → C:\oh-my-posh
[TRACE] 10:07:36.508 terminal.go:HasParentFilePath(C:\oh-my-posh) - 0s
[DEBUG] 10:07:36.508 terminal.go:HasParentFilePath:446 → C:\oh-my-posh
[TRACE] 10:07:36.508 terminal.go:HasParentFilePath(C:\oh-my-posh) - 0s
[TRACE] 10:07:36.509 git.go:shouldDisplay(.git) - 514µs
[DEBUG] 10:07:36.509 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.509 git.go:setDir() - 0s
[TRACE] 10:07:36.509 scm.go:convertToWindowsPath() - 0s
[DEBUG] 10:07:36.509 git.go:Enabled:181 → fetch_user: false
[TRACE] 10:07:36.509 git.go:shouldDisplay(.git) - 514µs
[DEBUG] 10:07:36.509 git.go:Enabled:196 → cli
[DEBUG] 10:07:36.509 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.509 git.go:shouldDisplay(.git) - 514µs
[DEBUG] 10:07:36.509 git.go:Enabled:201 → fetch_status: false
[TRACE] 10:07:36.509 git.go:setDir() - 0s
[TRACE] 10:07:36.509 scm.go:convertToWindowsPath() - 0s
[DEBUG] 10:07:36.509 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.509 git.go:setDir() - 0s
[DEBUG] 10:07:36.509 git.go:Enabled:181 → fetch_user: false
[DEBUG] 10:07:36.509 git.go:shouldIgnoreStatus:475 → ignore_status: []
[TRACE] 10:07:36.509 scm.go:convertToWindowsPath() - 0s
[DEBUG] 10:07:36.509 git.go:Enabled:196 → cli
[DEBUG] 10:07:36.509 home.go:Home:16 → C:\Users\sedwin
[DEBUG] 10:07:36.509 git.go:Enabled:201 → fetch_status: false
[TRACE] 10:07:36.509 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.509 git.go:Enabled:181 → fetch_user: false
[DEBUG] 10:07:36.509 git.go:shouldIgnoreStatus:475 → ignore_status: []
[DEBUG] 10:07:36.509 git.go:Enabled:196 → cli
[DEBUG] 10:07:36.509 home.go:Home:16 → C:\Users\sedwin
[DEBUG] 10:07:36.509 git.go:Enabled:201 → fetch_status: true
[TRACE] 10:07:36.509 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.509 git.go:shouldIgnoreStatus:475 → ignore_status: []
[DEBUG] 10:07:36.509 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.509 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.509 git.go:setGitStatus:621 → status_formats: map[]
[DEBUG] 10:07:36.509 git.go:getSwitchMode:938 → untracked_modes: map[]
[DEBUG] 10:07:36.509 git.go:getSwitchMode:938 → ignore_submodules: map[]
[DEBUG] 10:07:36.509 scm.go:FileContents:142 ↓
    ref: refs/heads/main

[TRACE] 10:07:36.509 scm.go:FileContents(C:\oh-my-posh\.git/HEAD) - 0s
[DEBUG] 10:07:36.509 scm.go:FileContents:142 ↓
    ref: refs/heads/main

[DEBUG] 10:07:36.509 git.go:setPrettyHEADName:844 → 
[TRACE] 10:07:36.509 scm.go:FileContents(C:\oh-my-posh\.git/HEAD) - 0s
[DEBUG] 10:07:36.509 scm.go:formatBranch:106 → mapped_branches: map[]
[DEBUG] 10:07:36.509 git.go:setPrettyHEADName:844 → 
[DEBUG] 10:07:36.509 scm.go:formatBranch:122 → full_branch_path: true
[DEBUG] 10:07:36.509 scm.go:formatBranch:106 → mapped_branches: map[]
[DEBUG] 10:07:36.509 scm.go:formatBranch:122 → full_branch_path: true
[DEBUG] 10:07:36.509 scm.go:formatBranch:128 → branch_max_length: 0
[DEBUG] 10:07:36.509 git.go:Enabled:214 → fetch_upstream_icon: false
[DEBUG] 10:07:36.509 scm.go:formatBranch:128 → branch_max_length: 0
[DEBUG] 10:07:36.509 git.go:Enabled:214 → fetch_upstream_icon: false
[TRACE] 10:07:36.509 segment.go:string(  ) - 0s
[TRACE] 10:07:36.509 segment.go:resolve(diamond) - 0s
[TRACE] 10:07:36.509 segment.go:string( {{ .RepoName}} ) - 0s
[TRACE] 10:07:36.509 segment.go:resolve(diamond) - 0s
[DEBUG] 10:07:36.563 git.go:getGitCommandOutput:672 ↓
    # branch.oid 8be5c906513b532847ba3fbf09d244cb440612dc
    # branch.head main
    # branch.upstream origin/main
    # branch.ab +0 -0
[TRACE] 10:07:36.563 git.go:getGitCommandOutput(git.exe -C C:/oh-my-posh --no-optional-locks -c core.quotepath=false -c color.status=false status -unormal --branch --porcelain=2) - 54.5512ms
[DEBUG] 10:07:36.563 git.go:setGitHEADContext:680 → 
[DEBUG] 10:07:36.563 scm.go:formatBranch:106 → mapped_branches: map[]
[DEBUG] 10:07:36.563 scm.go:formatBranch:122 → full_branch_path: true
[DEBUG] 10:07:36.563 scm.go:formatBranch:128 → branch_max_length: 35
[DEBUG] 10:07:36.563 git.go:setGitHEADContext:713 → false
[TRACE] 10:07:36.563 git.go:setGitHEADContext(C:\oh-my-posh\.git/rebase-merge) - 0s
[DEBUG] 10:07:36.563 git.go:setGitHEADContext:732 → false
[TRACE] 10:07:36.563 git.go:setGitHEADContext(C:\oh-my-posh\.git/rebase-apply) - 0s
[DEBUG] 10:07:36.563 git.go:setGitHEADContext:749 → 
[DEBUG] 10:07:36.563 git.go:hasGitFile:828 → false
[TRACE] 10:07:36.563 git.go:hasGitFile(MERGE_MSG) - 0s
[DEBUG] 10:07:36.563 git.go:hasGitFile:828 → false
[TRACE] 10:07:36.563 git.go:hasGitFile(CHERRY_PICK_HEAD) - 0s
[DEBUG] 10:07:36.563 git.go:hasGitFile:828 → false
[TRACE] 10:07:36.563 git.go:hasGitFile(REVERT_HEAD) - 0s
[DEBUG] 10:07:36.563 git.go:hasGitFile:828 → false
[TRACE] 10:07:36.563 git.go:hasGitFile(sequencer/todo) - 0s
[DEBUG] 10:07:36.563 git.go:494 → ≡
[DEBUG] 10:07:36.563 git.go:Enabled:214 → fetch_upstream_icon: true
[DEBUG] 10:07:36.563 git.go:getUpstreamIcon:558 → upstream_icons: map[]
[DEBUG] 10:07:36.563 git.go:getUpstreamIcon:579 → 
[TRACE] 10:07:36.563 segment.go:string({{ .HEAD }}) - 0s
[TRACE] 10:07:36.563 segment.go:resolve(diamond) - 0s
[TRACE] 10:07:36.563 engine.go:applyPowerShellBleedPatch() - 0s
[TRACE] 10:07:36.563 segment.go:Execute() - 0s
[DEBUG] 10:07:36.563 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.563 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.563 segment.go:Execute:110 → segment: Git
[DEBUG] 10:07:36.563 segment.go:Execute:112 → no toggles found
[TRACE] 10:07:36.563 scm.go:hasCommand() - 0s
[DEBUG] 10:07:36.573 terminal.go:HasCommand:323 → c:\Program Files\Git\bin\git.exe
[TRACE] 10:07:36.573 terminal.go:HasCommand(git.exe) - 0s
[TRACE] 10:07:36.573 scm.go:hasCommand(git.exe) - 0s
[DEBUG] 10:07:36.573 git.go:shouldDisplay:337 → fetch_bare_info: false
[TRACE] 10:07:36.573 segment.go:Execute() - 0s
[DEBUG] 10:07:36.573 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.573 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.573 segment.go:Execute:110 → segment: Git
[DEBUG] 10:07:36.573 segment.go:Execute:112 → no toggles found
[TRACE] 10:07:36.573 scm.go:hasCommand() - 0s
[DEBUG] 10:07:36.573 terminal.go:HasCommand:323 → c:\Program Files\Git\bin\git.exe
[TRACE] 10:07:36.573 terminal.go:HasCommand(git.exe) - 0s
[TRACE] 10:07:36.573 scm.go:hasCommand(git.exe) - 0s
[DEBUG] 10:07:36.573 git.go:shouldDisplay:337 → fetch_bare_info: false
[DEBUG] 10:07:36.573 terminal.go:HasParentFilePath:446 → C:\oh-my-posh
[TRACE] 10:07:36.573 terminal.go:HasParentFilePath(C:\oh-my-posh) - 15.9µs
[DEBUG] 10:07:36.573 terminal.go:HasParentFilePath:446 → C:\oh-my-posh
[TRACE] 10:07:36.573 terminal.go:HasParentFilePath(C:\oh-my-posh) - 0s
[TRACE] 10:07:36.573 git.go:shouldDisplay(.git) - 15.9µs
[DEBUG] 10:07:36.573 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.573 git.go:setDir() - 0s
[TRACE] 10:07:36.573 scm.go:convertToWindowsPath() - 0s
[DEBUG] 10:07:36.573 git.go:Enabled:181 → fetch_user: false
[DEBUG] 10:07:36.573 git.go:Enabled:196 → cli
[DEBUG] 10:07:36.573 git.go:Enabled:201 → fetch_status: false
[DEBUG] 10:07:36.573 git.go:shouldIgnoreStatus:475 → ignore_status: []
[DEBUG] 10:07:36.573 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.573 terminal.go:DirMatchesOneOf() - 0s
[TRACE] 10:07:36.573 git.go:shouldDisplay(.git) - 0s
[DEBUG] 10:07:36.573 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.573 git.go:setDir() - 0s
[TRACE] 10:07:36.573 scm.go:convertToWindowsPath() - 0s
[DEBUG] 10:07:36.573 git.go:Enabled:181 → fetch_user: false
[DEBUG] 10:07:36.573 git.go:Enabled:196 → cli
[DEBUG] 10:07:36.573 git.go:Enabled:201 → fetch_status: true
[DEBUG] 10:07:36.573 git.go:shouldIgnoreStatus:475 → ignore_status: []
[DEBUG] 10:07:36.573 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.573 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.573 git.go:setGitStatus:621 → status_formats: map[]
[DEBUG] 10:07:36.573 git.go:getSwitchMode:938 → untracked_modes: map[]
[DEBUG] 10:07:36.573 git.go:getSwitchMode:938 → ignore_submodules: map[]
[DEBUG] 10:07:36.573 scm.go:FileContents:142 ↓
    ref: refs/heads/main

[TRACE] 10:07:36.573 scm.go:FileContents(C:\oh-my-posh\.git/HEAD) - 0s
[DEBUG] 10:07:36.573 git.go:setPrettyHEADName:844 → 
[DEBUG] 10:07:36.573 scm.go:formatBranch:106 → mapped_branches: map[]
[DEBUG] 10:07:36.573 scm.go:formatBranch:122 → full_branch_path: true
[DEBUG] 10:07:36.573 scm.go:formatBranch:128 → branch_max_length: 0
[DEBUG] 10:07:36.573 git.go:Enabled:214 → fetch_upstream_icon: false
[DEBUG] 10:07:36.633 git.go:getGitCommandOutput:672 ↓
    # branch.oid 8be5c906513b532847ba3fbf09d244cb440612dc
    # branch.head main
    # branch.upstream origin/main
    # branch.ab +0 -0
[TRACE] 10:07:36.633 git.go:getGitCommandOutput(git.exe -C C:/oh-my-posh --no-optional-locks -c core.quotepath=false -c color.status=false status -unormal --branch --porcelain=2) - 60.1359ms
[DEBUG] 10:07:36.633 git.go:setGitHEADContext:680 → 
[DEBUG] 10:07:36.633 scm.go:formatBranch:106 → mapped_branches: map[]
[DEBUG] 10:07:36.633 scm.go:formatBranch:122 → full_branch_path: true
[DEBUG] 10:07:36.633 scm.go:formatBranch:128 → branch_max_length: 0
[DEBUG] 10:07:36.633 git.go:setGitHEADContext:713 → false
[TRACE] 10:07:36.633 git.go:setGitHEADContext(C:\oh-my-posh\.git/rebase-merge) - 0s
[DEBUG] 10:07:36.633 git.go:setGitHEADContext:732 → false
[TRACE] 10:07:36.633 git.go:setGitHEADContext(C:\oh-my-posh\.git/rebase-apply) - 0s
[DEBUG] 10:07:36.633 git.go:setGitHEADContext:749 → 
[DEBUG] 10:07:36.633 git.go:hasGitFile:828 → false
[TRACE] 10:07:36.633 git.go:hasGitFile(MERGE_MSG) - 0s
[DEBUG] 10:07:36.633 git.go:hasGitFile:828 → false
[TRACE] 10:07:36.633 git.go:hasGitFile(CHERRY_PICK_HEAD) - 0s
[DEBUG] 10:07:36.633 git.go:hasGitFile:828 → false
[TRACE] 10:07:36.633 git.go:hasGitFile(REVERT_HEAD) - 0s
[DEBUG] 10:07:36.633 git.go:hasGitFile:828 → false
[TRACE] 10:07:36.633 git.go:hasGitFile(sequencer/todo) - 0s
[DEBUG] 10:07:36.633 git.go:494 → ≡
[DEBUG] 10:07:36.633 git.go:Enabled:214 → fetch_upstream_icon: true
[DEBUG] 10:07:36.633 git.go:getUpstreamIcon:558 → upstream_icons: map[]
[DEBUG] 10:07:36.633 git.go:getUpstreamIcon:579 → 
[ERROR] 10:07:36.633 scm.go:FileContents:142 → open C:\oh-my-posh\.git/logs/refs/stash: The system cannot find the file specified.
[TRACE] 10:07:36.633 scm.go:FileContents(C:\oh-my-posh\.git/logs/refs/stash) - 0s
[TRACE] 10:07:36.633 segment.go:string( {{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#CAEBE1>  {{ .Staging.String }}</>{{ end }}{{ if gt .StashCount 0 }}  {{ .StashCount }}{{ end }} ) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if or (.Staging.Changed) }}#94CA00{{ end }}) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if and (gt .Ahead 0) (gt .Behind 0) }}#9d0226{{ end }}) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if gt .Ahead 0 }}#B787D7{{ end }}) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if gt .Behind 0 }}#9d0226{{ end }}) - 0s
[TRACE] 10:07:36.633 segment.go:resolve(diamond) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if or (.Staging.Changed) }}#94CA00{{ end }}) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if and (gt .Ahead 0) (gt .Behind 0) }}#9d0226{{ end }}) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if gt .Ahead 0 }}#B787D7{{ end }}) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if gt .Behind 0 }}#9d0226{{ end }}) - 0s
[TRACE] 10:07:36.633 segment.go:string(  ) - 0s
[TRACE] 10:07:36.633 segment.go:resolve(diamond) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if or (.Staging.Changed) }}#94CA00{{ end }}) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if and (gt .Ahead 0) (gt .Behind 0) }}#9d0226{{ end }}) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if gt .Ahead 0 }}#B787D7{{ end }}) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if gt .Behind 0 }}#9d0226{{ end }}) - 0s
[DEBUG] 10:07:36.633 terminal_windows.go:TerminalWidth:99 → terminal width: 122
[TRACE] 10:07:36.633 engine.go:canWriteRightBlock() - 0s
[TRACE] 10:07:36.633 engine.go:applyPowerShellBleedPatch() - 0s
[TRACE] 10:07:36.633 segment.go:Execute() - 0s
[DEBUG] 10:07:36.633 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.633 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.633 segment.go:Execute:110 → segment: Path
[DEBUG] 10:07:36.633 segment.go:Execute:112 → no toggles found
[TRACE] 10:07:36.633 segment.go:Execute() - 0s
[DEBUG] 10:07:36.633 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.633 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.633 path.go:147 → display_cygpath: false
[DEBUG] 10:07:36.633 segment.go:Execute:110 → segment: Text
[TRACE] 10:07:36.633 path.go:setPaths() - 0s
[DEBUG] 10:07:36.633 segment.go:Execute:112 → no toggles found
[TRACE] 10:07:36.633 path.go:setPaths() - 0s
[TRACE] 10:07:36.633 path.go:setPaths() - 0s
[TRACE] 10:07:36.633 path.go:setPaths() - 0s
[TRACE] 10:07:36.633 path.go:parsePath() - 0s
[TRACE] 10:07:36.633 segment.go:string( 󰨊  ) - 0s
[TRACE] 10:07:36.633 segment.go:resolve(diamond) - 0s
[DEBUG] 10:07:36.633 path.go:setMappedLocations:557 → mapped_locations_enabled: true
[DEBUG] 10:07:36.633 path.go:setMappedLocations:558 → 
[DEBUG] 10:07:36.633 path.go:setMappedLocations:559 → 
[DEBUG] 10:07:36.633 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.633 clean.go:Clean() - 0s
[TRACE] 10:07:36.633 path.go:normalize() - 0s
[DEBUG] 10:07:36.633 path.go:setMappedLocations:560 → 󰋜
[DEBUG] 10:07:36.633 path.go:setMappedLocations:565 → mapped_locations: map[]
[TRACE] 10:07:36.633 clean.go:Clean() - 0s
[TRACE] 10:07:36.633 path.go:normalize() - 0s
[TRACE] 10:07:36.633 clean.go:Clean() - 0s
[TRACE] 10:07:36.633 path.go:normalize() - 0s
[TRACE] 10:07:36.633 path.go:parsePath() - 0s
[TRACE] 10:07:36.633 path.go:parsePath() - 0s
[TRACE] 10:07:36.633 path.go:parsePath() - 0s
[DEBUG] 10:07:36.633 path.go:makeFolderFormatMap:833 → NO DATA
[DEBUG] 10:07:36.633 path.go:setStyle:213 → agnoster_short
[DEBUG] 10:07:36.633 path.go:getAgnosterShortPath:500 → max_depth: 5
[DEBUG] 10:07:36.633 path.go:getAgnosterShortPath:506 → hide_root_location: false
[DEBUG] 10:07:36.633 path.go:getAgnosterShortPath:507 →
[DEBUG] 10:07:36.633 path.go:colorizePath:734 → cycle: []
[DEBUG] 10:07:36.633 path.go:getFolderSeparator:267 → NO DATA
[DEBUG] 10:07:36.633 path.go:getFolderSeparator:269 → 
[DEBUG] 10:07:36.633 path.go:colorizePath:737 → cycle_folder_separator: true
[DEBUG] 10:07:36.633 path.go:colorizePath:738 → %s
[DEBUG] 10:07:36.633 path.go:colorizePath:740 → %s
[DEBUG] 10:07:36.633 path.go:colorizePath:741 → %s
[DEBUG] 10:07:36.633 path.go:colorizePath:742 → %s
[TRACE] 10:07:36.633 path.go:Enabled() - 0s
[TRACE] 10:07:36.633 path.go:Enabled() - 0s
[TRACE] 10:07:36.633 path.go:Enabled() - 0s
[DEBUG] 10:07:36.633 terminal_windows.go:DirIsWritable:216 → current user is member of S-1-5-32-544
[DEBUG] 10:07:36.633 win32_windows.go:isWriteable:271 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 10:07:36.633 terminal_windows.go:DirIsWritable:216 → user has write access
[TRACE] 10:07:36.633 path.go:Enabled() - 0s
[TRACE] 10:07:36.633 segment.go:string(   {{ .Path }}) - 0s
[TRACE] 10:07:36.633 segment.go:resolve(diamond) - 0s
[TRACE] 10:07:36.633 engine.go:applyPowerShellBleedPatch() - 0s
[TRACE] 10:07:36.633 segment.go:Execute() - 0s
[TRACE] 10:07:36.633 segment.go:Execute() - 0s
[DEBUG] 10:07:36.633 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.633 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.633 segment.go:Execute:110 → segment: Text
[DEBUG] 10:07:36.633 segment.go:Execute:112 → no toggles found
[DEBUG] 10:07:36.633 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.633 segment.go:Execute() - 0s
[DEBUG] 10:07:36.633 segment.go:Execute:112 → no toggles found
[DEBUG] 10:07:36.633 executiontime.go:Enabled:55 → always_enabled: false
[TRACE] 10:07:36.633 executiontime.go:Enabled() - 0s
[DEBUG] 10:07:36.633 home.go:Home:16 → C:\Users\sedwin
[DEBUG] 10:07:36.633 executiontime.go:Enabled:57 → threshold: 0.000000
[TRACE] 10:07:36.633 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.633 executiontime.go:Enabled:61 → roundrock
[DEBUG] 10:07:36.633 segment.go:Execute:110 → segment: Status
[DEBUG] 10:07:36.633 segment.go:Execute:112 → no toggles found
[TRACE] 10:07:36.633 status.go:Enabled() - 0s
[DEBUG] 10:07:36.633 status.go:formatStatus:45 → {{ .Code }}
[TRACE] 10:07:36.633 segment.go:string( 󰔛 {{ .FormattedMs }} ) - 0s
[TRACE] 10:07:36.633 segment.go:resolve(diamond) - 0s
[TRACE] 10:07:36.633 status.go:formatStatus({{ .Code }}) - 0s
[DEBUG] 10:07:36.633 status.go:Enabled:37 → always_enabled: true
[TRACE] 10:07:36.633 segment.go:string(  {{ if gt .Code 0 }}{{ else }}{{ end }}  ) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if gt .Code 0 }}#E44141{{ end }}) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if gt .Code 0 }}#D6DEEB{{ end }}) - 0s
[TRACE] 10:07:36.633 segment.go:resolve(diamond) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if gt .Code 0 }}#E44141{{ end }}) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if gt .Code 0 }}#D6DEEB{{ end }}) - 0s
[TRACE] 10:07:36.633 segment.go:string(    ) - 0s
[TRACE] 10:07:36.633 segment.go:resolve(diamond) - 0s
[TRACE] 10:07:36.633 list.go:FirstMatch({{ if gt .Code 0 }}#E44141{{ end }}) - 0s
[DEBUG] 10:07:36.633 terminal_windows.go:TerminalWidth:82 → terminal width: 122
[TRACE] 10:07:36.633 engine.go:canWriteRightBlock() - 0s
[TRACE] 10:07:36.633 engine.go:applyPowerShellBleedPatch() - 0s
[TRACE] 10:07:36.633 segment.go:Execute() - 0s
[DEBUG] 10:07:36.633 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.633 terminal.go:DirMatchesOneOf() - 0s
[TRACE] 10:07:36.633 segment.go:Execute() - 0s
[TRACE] 10:07:36.633 segment.go:Execute() - 0s
[DEBUG] 10:07:36.633 segment.go:Execute:110 → segment: Text
[DEBUG] 10:07:36.633 segment.go:Execute:112 → no toggles found
[DEBUG] 10:07:36.633 home.go:Home:16 → C:\Users\sedwin
[TRACE] 10:07:36.633 segment.go:string(  ) - 0s
[TRACE] 10:07:36.633 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.633 home.go:Home:16 → C:\Users\sedwin
[DEBUG] 10:07:36.633 segment.go:Execute:110 → segment: Text
[TRACE] 10:07:36.633 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 10:07:36.633 segment.go:Execute:112 → no toggles found
[DEBUG] 10:07:36.633 segment.go:Execute:110 → segment: Root
[TRACE] 10:07:36.633 segment.go:resolve(diamond) - 0s
[DEBUG] 10:07:36.633 segment.go:Execute:112 → no toggles found
[TRACE] 10:07:36.633 root.go:Enabled() - 0s
[TRACE] 10:07:36.633 segment.go:resolve(diamond) - 0s
[TRACE] 10:07:36.633 segment.go:string(>) - 0s
[TRACE] 10:07:36.633 segment.go:resolve(diamond) - 0s
[TRACE] 10:07:36.633 engine.go:applyPowerShellBleedPatch() - 0s
[TRACE] 10:07:36.633 engine.go:pwd() - 0s
[DEBUG] 10:07:36.633 terminal_windows.go:IsCygwin:75 → NO DATA
[TRACE] 10:07:36.633 terminal_windows.go:IsCygwin(OSTYPE) - 0s
[TRACE] 10:07:36.633 engine.go:pwd() - 0s
[TRACE] 10:07:36.633 engine.go:pwd(osc99) - 0s
[DEBUG] 10:07:36.633 engine.go:pwd:114 → sedwin
[TRACE] 10:07:36.633 engine.go:pwd() - 0s
[DEBUG] 10:07:36.633 engine.go:pwd:115 → sedwin-lt2
[TRACE] 10:07:36.633 engine.go:pwd() - 0s
[TRACE] 10:07:36.633 primary.go:Primary() - 0s
[TRACE] 10:07:36.633 debug.go:PrintDebug() - 0s
[TRACE] 10:07:36.633 debug.go:PrintDebug() - 0s
@Sedwin97 Sedwin97 added the 🐛 bug Something isn't working label Dec 30, 2024
Repository owner locked and limited conversation to collaborators Jan 3, 2025
@JanDeDobbeleer JanDeDobbeleer converted this issue into discussion #6065 Jan 3, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants