Skip to content
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

Transient prompt unable to create text based on template. #5812

Closed
1 task done
ProjektMing opened this issue Nov 5, 2024 · 0 comments
Closed
1 task done

Transient prompt unable to create text based on template. #5812

ProjektMing opened this issue Nov 5, 2024 · 0 comments
Assignees
Labels
🐛 bug Something isn't working

Comments

@ProjektMing
Copy link

ProjektMing commented Nov 5, 2024

Code of Conduct

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

What happened?

This transient prompt template acts perfect in previous version,but is broken now.
output: unable to create text based on template
I use {{ .Segments.Time.CurrentDate | date .Segments.Time.Format }} if it would help.

Theme

{
  "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
  "secondary_prompt": {
    "template": "{{ if .Root }}\uf0e7{{else}} {{end}}|",
    "foreground": "#100e23",
    "background": "#146AFF"
  },
  "transient_prompt": {
    "properties": {
      "time_format": "07-21 11:45:14 CST"
    },
    "template": "{{ .Segments.Time.CurrentDate | date .Segments.Time.Format }} {{if .Root }}(sudo){{end}}{{ .UserName }}<#146AFF>> ",
    "foreground": "#ffffff",
    "background": "transparent"
  },
  "error_line": {
    "background": "transparent",
    "foreground": "#ffffff",
    "template": "<#eb6f92,#286983> </><#286983,transparent></> "
  },
  "blocks": [
    {
      "type": "prompt",
      "alignment": "left",
      "segments": [
        {
          "properties": {
            "windows": "\ue70f"
          },
          "template": " {{.Icon}} ",
          "foreground": "#100e23",
          "background": "#146AFF",
          "type": "os",
          "style": "powerline"
        },
        {
          "style": "powerline",
          "template": " {{ .HostName }}",
          "foreground": "#000000",
          "powerline_symbol": "<#146AFF>\ue0b0",
          "background": "#ffffff",
          "type": "session"
        },
        {
          "properties": {
            "folder_icon": "..\ue5fe..",
            "folder_separator_icon": " \ue0b9 ",
            "style": "agnoster_short"
          },
          "style": "powerline",
          "template": " {{ .Path }} ",
          "foreground": "#100e23",
          "powerline_symbol": "\ue0b0",
          "background": "#91ddff",
          "type": "path"
        },
        {
          "style": "powerline",
          "template": " {{ .HEAD }} ",
          "foreground": "#193549",
          "powerline_symbol": "\ue0b0",
          "background": "#95ffa4",
          "type": "git"
        },
        {
          "style": "powerline",
          "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
          "foreground": "#100e23",
          "powerline_symbol": "\ue0b0",
          "background": "#906cff",
          "type": "python"
        },
        {
          "style": "powerline",
          "template": " \ue20f ",
          "foreground": "#ffffff",
          "powerline_symbol": "\ue0b0",
          "background": "#ff8080",
          "type": "status"
        },
        {
          "style": "powerline",
          "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Version }}\uf487 {{.Version}}{{ end }} {{ if .Name }}{{ .Name }}{{ end }}{{ end }} ",
          "foreground": "#193549",
          "powerline_symbol": "\ue0b0",
          "background": "#ffeb3b",
          "type": "project"
        },
        {
          "style": "powerline",
          "template": " \ue77f {{ .Full }} ",
          "foreground": "#000000",
          "powerline_symbol": "\ue0b0",
          "background": "#00ffff",
          "type": "dotnet"
        }
      ]
    },
    {
      "type": "prompt",
      "alignment": "right",
      "segments": [
        {
          "properties": {
            "time_format": "15:04:05"
          },
          "style": "plain",
          "foreground": "#007ACC",
          "background": "#ffffff",
          "type": "time"
        }
      ]
    },
    {
      "type": "prompt",
      "alignment": "left",
      "segments": [
        {
          "template": "{{ if .SSHSession }}\ueba9{{ end }}{{if .Root}}\udb86\udc67root{{else}}{{ .UserName }}{{end}}",
          "foreground": "#ffff09",
          "type": "session",
          "style": "powerline"
        },
        {
          "style": "plain",
          "template": "",
          "foreground": "#007ACC",
          "type": "text"
        }
      ],
      "newline": true
    }
  ],
  "tooltips": [
    {
      "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
      }
    }
  ],
  "version": 3,
  "patch_pwsh_bleed": true
}

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

unable to create text based on templateoh-my-posh debug pwsh --plain

Version: 24.0.4

Shell: pwsh (7.4.6)

Prompt:

   Mings-Desktop ~                                                                                         11:11:02
Ming❯

Segments:

ConsoleTitle(false)                       -   0 ms
Os(true)                                  -   0 ms
Session(true)                             -   0 ms
Path(true)                                -   1 ms
Git(false)                                -  24 ms
Python(false)                             -   0 ms
Status(false)                             -   1 ms
Project(false)                            -   1 ms
Dotnet(false)                             -   0 ms
Time(true)                                -   0 ms
Session(true)                             -   0 ms
Text(true)                                -   0 ms

Run duration: 29.9674ms

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

Config path: Z:\Ming\Documents\usage\paradox-of-Ming.omp.json

Logs:

[DEBUG] 11:11:02.697 debug.go:50 → debug mode enabled
[DEBUG] 11:11:02.701 debug.go:50 → plain mode enabled
[DEBUG] 11:11:02.701 terminal.go:Getenv:161 → C:\Users\Ming\AppData\Local
[TRACE] 11:11:02.701 terminal.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 11:11:02.701 terminal.go:CachePath() - 0s
[DEBUG] 11:11:02.701 terminal.go:65 → loading cache file: C:\Users\Ming\AppData\Local\oh-my-posh\omp.cache
[DEBUG] 11:11:02.701 terminal.go:65 → loading cache key: upgrade_check
[DEBUG] 11:11:02.701 terminal.go:65 → loading cache key: version_python
[TRACE] 11:11:02.701 terminal.go(C:\Users\Ming\AppData\Local\oh-my-posh\omp.cache) - 0s
[DEBUG] 11:11:02.701 terminal.go:Getenv:161 → C:\Users\Ming\AppData\Local
[TRACE] 11:11:02.701 terminal.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 11:11:02.701 terminal.go:CachePath() - 0s
[DEBUG] 11:11:02.701 terminal.go:65 → loading cache file: C:\Users\Ming\AppData\Local\oh-my-posh\omp.cache.bd192711-1840-467c-b9c5-1f557fbea409
[TRACE] 11:11:02.701 terminal.go(C:\Users\Ming\AppData\Local\oh-my-posh\omp.cache.bd192711-1840-467c-b9c5-1f557fbea409) - 546.4µs
[TRACE] 11:11:02.701 terminal.go:setPromptCount() - 0s
[TRACE] 11:11:02.701 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.701 terminal.go:setPwd:194 → Z:\Ming
[TRACE] 11:11:02.701 terminal.go:setPwd() - 0s
[DEBUG] 11:11:02.701 terminal.go:Getenv:161 → Z:\Ming\Documents\usage\paradox-of-Ming.omp.json
[TRACE] 11:11:02.701 terminal.go:Getenv(POSH_THEME) - 0s
[DEBUG] 11:11:02.701 terminal.go:ResolveConfigPath:93 → config set using POSH_THEME: Z:\Ming\Documents\usage\paradox-of-Ming.omp.json
[TRACE] 11:11:02.701 terminal.go:ResolveConfigPath() - 0s
[TRACE] 11:11:02.701 terminal.go:Init() - 4.5263ms
[TRACE] 11:11:02.701 terminal.go:Shell() - 0s
[TRACE] 11:11:02.701 terminal.go:Flags() - 0s
[TRACE] 11:11:02.702 load.go:loadConfig() - 668.2µs
[TRACE] 11:11:02.702 terminal.go:Flags() - 0s
[DEBUG] 11:11:02.702 debug.go:60 → terminal program: Windows Terminal
[DEBUG] 11:11:02.702 debug.go:60 → terminal shell: shell
[DEBUG] 11:11:02.702 terminal.go:Getenv:161 → NO DATA
[TRACE] 11:11:02.702 terminal.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 11:11:02.702 terminal_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.702 terminal_windows.go:WindowsRegistryKeyValue:213 → ColorizationColor(DWORD): 0xC468768A
[TRACE] 11:11:02.702 colors_windows.go:GetAccentColor() - 0s
[TRACE] 11:11:02.702 colors.go:SetAccentColor() - 0s
[TRACE] 11:11:02.702 terminal.go:Shell() - 0s
[DEBUG] 11:11:02.702 terminal.go:Getenv:161 → 7.4.6
[TRACE] 11:11:02.702 terminal.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 11:11:02.702 debug.go:PrintDebug:23 → segment: Title
[TRACE] 11:11:02.702 text.go:Render() - 0s
[TRACE] 11:11:02.702 terminal.go:Flags() - 0s
[DEBUG] 11:11:02.702 terminal.go:Getenv:161 → 20
[TRACE] 11:11:02.702 terminal.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 11:11:02.702 terminal.go:Getenv:161 → 1
[TRACE] 11:11:02.702 terminal.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 11:11:02.702 terminal.go:Flags() - 0s
[TRACE] 11:11:02.702 terminal.go:Flags() - 0s
[TRACE] 11:11:02.702 terminal.go:Flags() - 0s
[DEBUG] 11:11:02.702 terminal_windows.go:56 → Z:\Ming
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.702 segment.go:Execute:103 → segment: Dotnet
[DEBUG] 11:11:02.702 language.go:Enabled:117 → extensions: [*.cs *.csx *.vb *.sln *.slnf *.csproj *.vbproj *.fs *.fsx *.fsproj global.json]
[DEBUG] 11:11:02.702 language.go:Enabled:118 → folders: []
[DEBUG] 11:11:02.702 language.go:Enabled:125 → home_enabled: false
[DEBUG] 11:11:02.702 terminal_windows.go:56 → Z:\Ming
[TRACE] 11:11:02.702 terminal.go:Flags() - 0s
[DEBUG] 11:11:02.702 terminal_windows.go:56 → Z:\Ming
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.702 segment.go:Execute:103 → segment: Os
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.702 os.go:Enabled:33 → 
[TRACE] 11:11:02.702 terminal_windows.go:Root() - 0s
[TRACE] 11:11:02.702 terminal.go:Shell() - 0s
[TRACE] 11:11:02.702 terminal.go:StatusCodes() - 0s
[TRACE] 11:11:02.702 terminal_windows.go:IsWsl() - 0s
[DEBUG] 11:11:02.702 terminal_windows.go:56 → Z:\Ming
[TRACE] 11:11:02.702 terminal_windows.go:IsWsl() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.702 terminal.go:User:331 → Ming
[TRACE] 11:11:02.702 terminal.go:User() - 0s
[TRACE] 11:11:02.702 terminal.go:Flags() - 0s
[DEBUG] 11:11:02.702 terminal.go:Host:348 → Mings-Desktop
[TRACE] 11:11:02.702 terminal.go:Host() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.702 terminal.go:Getenv:161 → NO DATA
[TRACE] 11:11:02.702 terminal.go:Getenv(SHLVL) - 0s
[TRACE] 11:11:02.702 terminal.go:TemplateCache() - 0s
[TRACE] 11:11:02.702 terminal.go:Flags() - 0s
[DEBUG] 11:11:02.702 terminal_windows.go:56 → Z:\Ming
[DEBUG] 11:11:02.702 terminal_windows.go:56 → Z:\Ming
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.702 segment.go:Execute:103 → segment: Python
[DEBUG] 11:11:02.702 segment.go:Execute:103 → segment: Git
[DEBUG] 11:11:02.702 python.go:Enabled:56 → environment
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.702 language.go:Enabled:117 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 11:11:02.702 language.go:Enabled:118 → folders: [.venv venv virtualenv venv-win pyenv-win]
[DEBUG] 11:11:02.702 language.go:Enabled:125 → home_enabled: false
[DEBUG] 11:11:02.702 terminal_windows.go:56 → Z:\Ming
[TRACE] 11:11:02.702 terminal.go:Flags() - 0s
[DEBUG] 11:11:02.702 terminal_windows.go:56 → Z:\Ming
[TRACE] 11:11:02.702 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.702 segment.go:Execute:103 → segment: Status
[TRACE] 11:11:02.702 terminal.go:StatusCodes() - 0s
[DEBUG] 11:11:02.702 status.go:formatStatus:45 → {{ .Code }}
[TRACE] 11:11:02.703 terminal.go:Flags() - 0s
[DEBUG] 11:11:02.703 terminal_windows.go:56 → Z:\Ming
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.703 segment.go:Execute:103 → segment: Session
[DEBUG] 11:11:02.703 terminal.go:Getenv:161 → NO DATA
[TRACE] 11:11:02.703 terminal.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 11:11:02.703 terminal.go:Getenv:161 → NO DATA
[TRACE] 11:11:02.703 terminal.go:Flags() - 0s
[TRACE] 11:11:02.703 terminal.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 11:11:02.703 terminal.go:TemplateCache() - 0s
[DEBUG] 11:11:02.703 terminal_windows.go:56 → Z:\Ming
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:Flags() - 0s
[DEBUG] 11:11:02.703 segment.go:Execute:103 → segment: Path
[DEBUG] 11:11:02.703 path.go:145 → display_cygpath: false
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:PathSeparator() - 0s
[DEBUG] 11:11:02.703 terminal_windows.go:56 → Z:\Ming
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:Shell() - 0s
[TRACE] 11:11:02.703 terminal.go:Flags() - 0s
[DEBUG] 11:11:02.703 segment.go:Execute:103 → segment: Project
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.703 path.go:setMappedLocations:552 → mapped_locations_enabled: true
[DEBUG] 11:11:02.703 path.go:setMappedLocations:553 → 
[DEBUG] 11:11:02.703 path.go:setMappedLocations:554 → 
[DEBUG] 11:11:02.703 terminal_windows.go:56 → Z:\Ming
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:PathSeparator() - 0s
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.703 path.go:setMappedLocations:555 → ~
[DEBUG] 11:11:02.703 path.go:setMappedLocations:560 → mapped_locations: map[]
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:PathSeparator() - 0s
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:PathSeparator() - 0s
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.703 terminal.go:Flags() - 0s
[DEBUG] 11:11:02.703 path.go:colorizePath:728 → cycle: []
[TRACE] 11:11:02.703 terminal.go:TemplateCache() - 0s
[DEBUG] 11:11:02.703 path.go:getFolderSeparator:263 → NO DATA
[TRACE] 11:11:02.703 text.go:Render({{ .Code }}) - 1.1522ms
[DEBUG] 11:11:02.703 status.go:Enabled:37 → always_enabled: false
[TRACE] 11:11:02.703 terminal.go:TemplateCache() - 0s
[TRACE] 11:11:02.703 text.go:Render( {{.Icon}} ) - 1.6695ms
[TRACE] 11:11:02.703 text.go:Render(powerline) - 0s
[DEBUG] 11:11:02.703 terminal.go:HasFilesInDir:243 → false
[TRACE] 11:11:02.703 terminal.go:HasFilesInDir(package.json) - 524.9µs
[DEBUG] 11:11:02.704 terminal.go:HasFilesInDir:243 → false
[TRACE] 11:11:02.704 terminal.go:HasFilesInDir(Cargo.toml) - 0s
[DEBUG] 11:11:02.704 terminal.go:HasFilesInDir:243 → false
[TRACE] 11:11:02.704 terminal.go:HasFilesInDir(pyproject.toml) - 0s
[DEBUG] 11:11:02.704 terminal.go:HasFilesInDir:243 → false
[TRACE] 11:11:02.704 terminal.go:HasFilesInDir(mojoproject.toml) - 0s
[DEBUG] 11:11:02.704 terminal.go:HasFilesInDir:243 → false
[TRACE] 11:11:02.704 terminal.go:HasFilesInDir(composer.json) - 0s
[DEBUG] 11:11:02.704 terminal.go:HasFilesInDir:243 → false
[TRACE] 11:11:02.704 terminal.go:HasFilesInDir(pubspec.yaml) - 0s
[TRACE] 11:11:02.704 text.go:Render( {{ .HostName }}) - 0s
[DEBUG] 11:11:02.704 terminal.go:HasFilesInDir:243 → false
[TRACE] 11:11:02.704 text.go:Render(powerline) - 0s
[TRACE] 11:11:02.704 terminal.go:HasFilesInDir(*.nuspec) - 0s
[DEBUG] 11:11:02.704 terminal.go:HasFilesInDir:243 → false
[TRACE] 11:11:02.704 terminal.go:HasFilesInDir(*.sln) - 0s
[DEBUG] 11:11:02.704 terminal.go:HasFilesInDir:243 → false
[TRACE] 11:11:02.704 terminal.go:HasFilesInDir(*.slnf) - 0s
[DEBUG] 11:11:02.704 terminal.go:HasFilesInDir:243 → false
[TRACE] 11:11:02.704 terminal.go:HasFilesInDir(*.vbproj) - 0s
[DEBUG] 11:11:02.704 terminal.go:HasFilesInDir:243 → false
[TRACE] 11:11:02.704 terminal.go:HasFilesInDir(*.fsproj) - 0s
[DEBUG] 11:11:02.704 terminal.go:HasFilesInDir:243 → false
[TRACE] 11:11:02.704 terminal.go:HasFilesInDir(*.csproj) - 0s
[DEBUG] 11:11:02.704 terminal.go:HasFilesInDir:243 → false
[TRACE] 11:11:02.704 terminal.go:HasFilesInDir(JuliaProject.toml) - 0s
[DEBUG] 11:11:02.704 path.go:getFolderSeparator:265 →  
[DEBUG] 11:11:02.704 terminal.go:HasFilesInDir:243 → false
[DEBUG] 11:11:02.704 path.go:colorizePath:731 → cycle_folder_separator: false
[TRACE] 11:11:02.704 terminal.go:HasFilesInDir(Project.toml) - 0s
[DEBUG] 11:11:02.704 path.go:colorizePath:732 → %s
[DEBUG] 11:11:02.704 path.go:colorizePath:734 → %s
[DEBUG] 11:11:02.704 terminal.go:HasFilesInDir:243 → false
[DEBUG] 11:11:02.704 path.go:colorizePath:735 → %s
[DEBUG] 11:11:02.704 path.go:colorizePath:736 → %s
[TRACE] 11:11:02.704 terminal.go:TemplateCache() - 0s
[DEBUG] 11:11:02.704 project.go:Enabled:127 → always_enabled: false
[TRACE] 11:11:02.704 terminal.go:GOOS() - 0s
[TRACE] 11:11:02.704 terminal.go:StackCount() - 0s
[DEBUG] 11:11:02.704 win32_windows.go:isWriteable:258 → not current user or in group
[DEBUG] 11:11:02.704 win32_windows.go:isWriteable:262 → current user is member of S-1-5-32-544
[DEBUG] 11:11:02.704 win32_windows.go:isWriteable:270 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 11:11:02.704 win32_windows.go:isWriteable:272 → user has write access
[TRACE] 11:11:02.704 terminal_windows.go:DirIsWritable() - 0s
[TRACE] 11:11:02.704 terminal.go:TemplateCache() - 0s
[TRACE] 11:11:02.704 terminal.go:TemplateCache() - 0s
[TRACE] 11:11:02.704 text.go:Render( {{ .Path }} ) - 0s
[TRACE] 11:11:02.704 text.go:Render(powerline) - 0s
[DEBUG] 11:11:02.725 terminal.go:CommandPath:395 → D:\scoop\shims\git.exe
[TRACE] 11:11:02.725 terminal.go:CommandPath(git.exe) - 23.4615ms
[TRACE] 11:11:02.725 terminal.go:HasCommand(git.exe) - 23.4615ms
[DEBUG] 11:11:02.725 git.go:shouldDisplay:326 → fetch_bare_info: false
[DEBUG] 11:11:02.726 terminal.go:ResolveSymlink:287 → Z:\Ming
[TRACE] 11:11:02.726 terminal.go:ResolveSymlink(Z:\Ming) - 700.7µs
[ERROR] 11:11:02.726 terminal.go:HasParentFilePath:559 → CreateFile .git: The system cannot find the file specified.
[TRACE] 11:11:02.726 terminal.go:HasParentFilePath(.git) - 755µs
[TRACE] 11:11:02.726 text.go:Render(powerline) - 0s
[TRACE] 11:11:02.726 text.go:Render(powerline) - 0s
[TRACE] 11:11:02.726 text.go:Render(powerline) - 0s
[TRACE] 11:11:02.726 text.go:Render(powerline) - 0s
[TRACE] 11:11:02.726 text.go:Render(powerline) - 0s
[TRACE] 11:11:02.726 terminal.go:Shell() - 0s
[TRACE] 11:11:02.726 terminal.go:Flags() - 0s
[DEBUG] 11:11:02.726 terminal_windows.go:56 → Z:\Ming
[TRACE] 11:11:02.726 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.726 segment.go:Execute:103 → segment: Time
[DEBUG] 11:11:02.726 time.go:Enabled:27 → 15:04:05
[TRACE] 11:11:02.726 terminal.go:TemplateCache() - 0s
[TRACE] 11:11:02.726 text.go:Render( {{ .CurrentDate | date .Format }} ) - 0s
[TRACE] 11:11:02.726 text.go:Render(plain) - 0s
[DEBUG] 11:11:02.726 terminal_windows.go:TerminalWidth:114 → terminal width: 120
[TRACE] 11:11:02.726 terminal_windows.go:TerminalWidth() - 0s
[TRACE] 11:11:02.726 terminal.go:Shell() - 0s
[TRACE] 11:11:02.726 terminal.go:Flags() - 0s
[DEBUG] 11:11:02.727 terminal_windows.go:56 → Z:\Ming
[TRACE] 11:11:02.727 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.727 segment.go:Execute:103 → segment: Text
[TRACE] 11:11:02.727 terminal.go:TemplateCache() - 0s
[TRACE] 11:11:02.727 terminal.go:Flags() - 0s
[DEBUG] 11:11:02.727 terminal_windows.go:56 → Z:\Ming
[TRACE] 11:11:02.727 terminal.go:GOOS() - 0s
[DEBUG] 11:11:02.727 segment.go:Execute:103 → segment: Session
[DEBUG] 11:11:02.727 terminal.go:Getenv:161 → NO DATA
[TRACE] 11:11:02.727 terminal.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 11:11:02.727 terminal.go:Getenv:161 → NO DATA
[TRACE] 11:11:02.727 terminal.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 11:11:02.727 terminal.go:TemplateCache() - 0s
[TRACE] 11:11:02.727 text.go:Render({{ if .SSHSession }}{{ end }}{{if .Root}}󱡧root{{else}}{{ .UserName }}{{end}}) - 43.4µs
[TRACE] 11:11:02.727 text.go:Render(powerline) - 0s
[TRACE] 11:11:02.727 text.go:Render(❯) - 0s
[TRACE] 11:11:02.727 text.go:Render(plain) - 0s
[TRACE] 11:11:02.727 terminal.go:Shell() - 0s
[TRACE] 11:11:02.727 terminal.go:Shell() - 0s
[DEBUG] 11:11:02.727 terminal.go:Getenv:161 → C:\Users\Ming\AppData\Local
[TRACE] 11:11:02.727 terminal.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 11:11:02.727 terminal.go:CachePath() - 0s
[TRACE] 11:11:02.727 terminal.go:Flags() - 0s
@ProjektMing ProjektMing added the 🐛 bug Something isn't working label Nov 5, 2024
JanDeDobbeleer added a commit that referenced this issue Nov 5, 2024
JanDeDobbeleer added a commit that referenced this issue Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants