Code of Conduct
What happened?
Language segement not shown any more. It used to work, may be caused by some system upgrade changes.
Also tried some old versions 28.x, 24.x, did not work as well.
oh-my-posh debug and oh-my-posh print right print the correct prompt.
Theme
The default theme and config.
What OS are you seeing the problem on?
LinuxMint 22.3
Which shell are you using?
bash
Log output
Version: 29.9.0
Shell: shell (5.2.21(1)-release)
Prompt:
gonwan �]8;;file:�\m3u8-downloader�]8;;�\ �]8;;https://github.com/gonwan/m3u8-downloader�\�]8;;�\ main ≡ ?1 �7 in shell at 19:59:27�8
Segments:
ConsoleTitle(true) - 0 ms
Session(true) - 2 ms
Path(true) - 0 ms
Git(true) - 8 ms
Root(false) - 0 ms
Status(true) - 0 ms
Node(true) - 7 ms
Go(false) - 0 ms
Python(false) - 0 ms
Shell(true) - 0 ms
Time(true) - 0 ms
Run duration: 20.60798ms
Cache path: /home/gonwan/.cache/oh-my-posh
Config path: no --config set, using default built-in configuration
Logs:
[DEBUG] 19:59:27.145 debug.go:39 → logging enabled, raw mode: true
[DEBUG] 19:59:27.145 store.go:]:163 → (session) key not found: prompt_count_cache
[TRACE] 19:59:27.145 store.go:](session prompt_count_cache) - 66.546µs
[TRACE] 19:59:27.145 terminal.go:setPromptCount() - 78.408µs
[TRACE] 19:59:27.145 terminal.go:GOOS() - 120ns
[DEBUG] 19:59:27.145 terminal.go:setPwd:102 → /home/gonwan/Documents/github/m3u8-downloader
[TRACE] 19:59:27.145 terminal.go:setPwd() - 40.01µs
[TRACE] 19:59:27.145 terminal.go:Init() - 141.489µs
[DEBUG] 19:59:27.145 home.go:12 → /home/gonwan
[TRACE] 19:59:27.146 path.go:Path() - 38.848µs
[DEBUG] 19:59:27.146 store.go:init:95 → (device) loading environment_platform
[DEBUG] 19:59:27.146 store.go:init:95 → (device) loading is_wsl
[TRACE] 19:59:27.146 store.go:init(device omp.cache) - 196.405µs
[TRACE] 19:59:27.146 init.go:SessionID() - 972ns
[TRACE] 19:59:27.146 path.go:Path() - 140ns
[DEBUG] 19:59:27.146 store.go:init:95 → (session) loading template_cache
[DEBUG] 19:59:27.146 store.go:init:95 → (session) loading prompt_count_cache
[TRACE] 19:59:27.146 store.go:init(session bash.f70f494d-a7f3-4b62-8899-2951721b8f04.omp.cache) - 346.658µs
[DEBUG] 19:59:27.146 store.go:]:163 → (device) key not found: reload
[TRACE] 19:59:27.146 store.go:](device reload) - 19.074µs
[DEBUG] 19:59:27.146 store.go:]:163 → (session) key not found: CONFIG
[TRACE] 19:59:27.146 store.go:](session CONFIG) - 35.332µs
[DEBUG] 19:59:27.146 gob.go:Get:39 → no cached config found
[DEBUG] 19:59:27.146 load.go:Parse:97 → no config file specified
[TRACE] 19:59:27.146 load.go:Parse() - 12.542µs
[TRACE] 19:59:27.146 load.go:Load() - 57.25µs
[TRACE] 19:59:27.146 gob.go:Get() - 137.712µs
[TRACE] 19:59:27.146 terminal.go:Shell() - 201ns
[TRACE] 19:59:27.146 terminal.go:Flags() - 130ns
[DEBUG] 19:59:27.146 store.go:]:176 → (session) found entry: template_cache - {map[Git:0x3a44f80f8700 Path:0x3a44f800e3c0 Session:0x3a44f8188ae0 Status:0x3a44f812caa0] map[] ~/Documents/github/m3u8-downloader m3u8-downloader gonwan gonwan-ideapad 5.2.21(1)-release bash /home/gonwan/Documents/github/m3u8-downloader linuxmint 29.9.0 31 2 0 0 false false}
[TRACE] 19:59:27.146 store.go:](session template_cache) - 56.449µs
[TRACE] 19:59:27.146 cache.go:restoreCache() - 65.185µs
[DEBUG] 19:59:27.146 writer.go:Init:107 → terminal program: Unknown
[DEBUG] 19:59:27.146 writer.go:Init:108 → terminal shell: shell
[DEBUG] 19:59:27.146 terminal.go:Getenv:64 → NO DATA
[TRACE] 19:59:27.146 terminal.go:Getenv(OMP_CACHE_DISABLED) - 6.511µs
[DEBUG] 19:59:27.146 store.go:]:163 → (device) key not found: accent_color
[TRACE] 19:59:27.146 store.go:](device accent_color) - 10.399µs
[TRACE] 19:59:27.146 colors.go:SetAccentColor() - 18.142µs
[TRACE] 19:59:27.146 terminal.go:Shell() - 90ns
[DEBUG] 19:59:27.146 terminal.go:Getenv:64 → 5.2.21(1)-release
[TRACE] 19:59:27.146 terminal.go:Getenv(POSH_SHELL_VERSION) - 5.44µs
[DEBUG] 19:59:27.146 debug.go:PrintDebug:24 → segment: Title
[DEBUG] 19:59:27.146 text.go:patchTemplate:149 → {{ .Shell }} in {{ .Folder }}
[TRACE] 19:59:27.147 terminal.go:Flags() - 100ns
[DEBUG] 19:59:27.147 terminal.go:Getenv:64 → NO DATA
[TRACE] 19:59:27.147 terminal.go:Getenv(POSH_CURSOR_LINE) - 5.61µs
[DEBUG] 19:59:27.147 terminal.go:Getenv:64 → NO DATA
[TRACE] 19:59:27.147 terminal.go:Getenv(POSH_CURSOR_COLUMN) - 4.087µs
[TRACE] 19:59:27.147 terminal.go:Flags() - 70ns
[TRACE] 19:59:27.147 terminal.go:Flags() - 70ns
[TRACE] 19:59:27.147 terminal.go:Flags() - 80ns
[TRACE] 19:59:27.147 terminal.go:Flags() - 70ns
[TRACE] 19:59:27.147 terminal.go:Flags() - 70ns
[TRACE] 19:59:27.147 terminal.go:Flags() - 80ns
[TRACE] 19:59:27.147 terminal.go:Flags() - 70ns
[TRACE] 19:59:27.147 terminal.go:Flags() - 90ns
[DEBUG] 19:59:27.147 home.go:12 → /home/gonwan
[TRACE] 19:59:27.147 terminal.go:GOOS() - 130ns
[DEBUG] 19:59:27.147 segment.go:Execute:173 → segment: Status
[DEBUG] 19:59:27.147 store.go:]:163 → (session) key not found: toggle_cache
[TRACE] 19:59:27.147 store.go:](session toggle_cache) - 9.276µs
[DEBUG] 19:59:27.147 segment.go:isToggled:291 → no toggles found
[TRACE] 19:59:27.147 terminal.go:StatusCodes() - 130ns
[DEBUG] 19:59:27.147 map.go:String:79 → status_template: {{ .Code }}
[TRACE] 19:59:27.147 terminal.go:Flags() - 410ns
[TRACE] 19:59:27.147 terminal.go:Flags() - 411ns
[DEBUG] 19:59:27.147 home.go:12 → /home/gonwan
[TRACE] 19:59:27.147 terminal.go:GOOS() - 150ns
[DEBUG] 19:59:27.147 segment.go:Execute:173 → segment: Path
[DEBUG] 19:59:27.147 text.go:patchTemplate:149 → {{ .Code }}
[DEBUG] 19:59:27.147 store.go:]:163 → (session) key not found: toggle_cache
[TRACE] 19:59:27.147 store.go:](session toggle_cache) - 31.705µs
[DEBUG] 19:59:27.147 home.go:12 → /home/gonwan
[DEBUG] 19:59:27.147 segment.go:isToggled:291 → no toggles found
[TRACE] 19:59:27.147 terminal.go:GOOS() - 130ns
[DEBUG] 19:59:27.147 segment.go:Execute:173 → segment: Git
[DEBUG] 19:59:27.147 map.go:Bool:133 → display_cygpath: false
[DEBUG] 19:59:27.147 map.go:Bool:141 → always_enabled: true
[TRACE] 19:59:27.147 terminal.go:GOOS() - 80ns
[TRACE] 19:59:27.147 terminal.go:Flags() - 90ns
[DEBUG] 19:59:27.147 store.go:]:163 → (session) key not found: toggle_cache
[TRACE] 19:59:27.147 separator.go:Separator() - 110ns
[TRACE] 19:59:27.147 terminal.go:Shell() - 220ns
[TRACE] 19:59:27.147 terminal.go:Flags() - 111ns
[DEBUG] 19:59:27.147 segment.go:isToggled:291 → no toggles found
[DEBUG] 19:59:27.147 home.go:12 → /home/gonwan
[TRACE] 19:59:27.147 terminal.go:GOOS() - 80ns
[TRACE] 19:59:27.147 terminal.go:GOOS() - 100ns
[TRACE] 19:59:27.147 terminal.go:Flags() - 431ns
[DEBUG] 19:59:27.147 segment.go:Execute:173 → segment: Root
[DEBUG] 19:59:27.147 store.go:]:163 → (session) key not found: toggle_cache
[DEBUG] 19:59:27.147 map.go:Bool:133 → mapped_locations_enabled: true
[DEBUG] 19:59:27.147 map.go:Bool:133 → disable_with_jj: false
[DEBUG] 19:59:27.147 map.go:String:79 → windows_registry_icon:
[TRACE] 19:59:27.147 store.go:](session toggle_cache) - 7.764µs
[DEBUG] 19:59:27.147 segment.go:isToggled:291 → no toggles found
[TRACE] 19:59:27.147 terminal_unix.go:Root() - 1.613µs
[DEBUG] 19:59:27.147 map.go:String:79 → windows_registry_icon:
[DEBUG] 19:59:27.147 home.go:12 → /home/gonwan
[TRACE] 19:59:27.147 terminal.go:Flags() - 80ns
[TRACE] 19:59:27.147 separator.go:Separator() - 80ns
[DEBUG] 19:59:27.147 home.go:12 → /home/gonwan
[TRACE] 19:59:27.147 terminal.go:GOOS() - 130ns
[DEBUG] 19:59:27.147 terminal.go:ResolveSymlink:195 → /home/gonwan/Documents/github/m3u8-downloader
[DEBUG] 19:59:27.147 segment.go:Execute:173 → segment: Session
[TRACE] 19:59:27.148 terminal.go:ResolveSymlink(/home/gonwan/Documents/github/m3u8-downloader) - 54.976µs
[DEBUG] 19:59:27.148 store.go:]:163 → (session) key not found: toggle_cache
[TRACE] 19:59:27.148 store.go:](session toggle_cache) - 17.531µs
[DEBUG] 19:59:27.148 segment.go:isToggled:291 → no toggles found
[DEBUG] 19:59:27.148 terminal.go:Getenv:64 → NO DATA
[TRACE] 19:59:27.148 terminal.go:Getenv(SSH_CONNECTION) - 9.617µs
[DEBUG] 19:59:27.148 terminal.go:Getenv:64 → NO DATA
[TRACE] 19:59:27.148 terminal.go:HasParentFilePath(.git) - 143.733µs
[TRACE] 19:59:27.148 terminal.go:Getenv(SSH_CLIENT) - 4.909µs
[DEBUG] 19:59:27.148 map.go:Bool:133 → fetch_bare_info: false
[TRACE] 19:59:27.148 terminal.go:GOOS() - 70ns
[TRACE] 19:59:27.148 terminal.go:GOOS() - 80ns
[DEBUG] 19:59:27.148 map.go:String:79 → home_icon: ~
[DEBUG] 19:59:27.148 store.go:]:176 → (device) found entry: environment_platform - linuxmint
[DEBUG] 19:59:27.148 map.go:KeyValueMap:208 → mapped_locations: map[]
[TRACE] 19:59:27.148 store.go:](device environment_platform) - 24.783µs
[TRACE] 19:59:27.148 separator.go:Separator() - 70ns
[TRACE] 19:59:27.148 terminal.go:GOOS() - 81ns
[TRACE] 19:59:27.148 terminal.go:GOOS() - 70ns
[TRACE] 19:59:27.148 separator.go:Separator() - 80ns
[TRACE] 19:59:27.148 terminal.go:GOOS() - 80ns
[DEBUG] 19:59:27.148 store.go:]:176 → (device) found entry: is_wsl - false
[TRACE] 19:59:27.148 terminal.go:GOOS() - 80ns
[TRACE] 19:59:27.148 store.go:](device is_wsl) - 68.711µs
[TRACE] 19:59:27.148 terminal.go:GOOS() - 71ns
[TRACE] 19:59:27.148 terminal.go:GOOS() - 70ns
[TRACE] 19:59:27.148 terminal_unix.go:IsWsl() - 76.184µs
[TRACE] 19:59:27.148 terminal.go:GOOS() - 80ns
[TRACE] 19:59:27.148 terminal_unix.go:IsWsl2() - 81.923µs
[TRACE] 19:59:27.148 terminal.go:GOOS() - 81ns
[DEBUG] 19:59:27.148 map.go:String:79 → gitdir_format:
[DEBUG] 19:59:27.148 map.go:String:83 → style: folder
[DEBUG] 19:59:27.148 map.go:StringArray:220 → cycle: []
[DEBUG] 19:59:27.148 map.go:String:79 → folder_separator_template:
[DEBUG] 19:59:27.148 map.go:String:79 → folder_separator_icon: /
[DEBUG] 19:59:27.148 map.go:Bool:133 → cycle_folder_separator: false
[DEBUG] 19:59:27.148 map.go:String:79 → folder_format: %s
[DEBUG] 19:59:27.148 terminal.go:CommandPath:304 → /usr/bin/git
[DEBUG] 19:59:27.148 map.go:String:79 → edge_format: %s
[TRACE] 19:59:27.148 terminal.go:CommandPath(git) - 85.851µs
[TRACE] 19:59:27.148 terminal.go:HasCommand(git) - 91.019µs
[DEBUG] 19:59:27.148 home.go:12 → /home/gonwan
[TRACE] 19:59:27.148 terminal.go:GOOS() - 80ns
[TRACE] 19:59:27.148 terminal.go:GOOS() - 80ns
[DEBUG] 19:59:27.148 map.go:String:79 → left_format: %s
[DEBUG] 19:59:27.148 map.go:Bool:133 → fetch_user: false
[DEBUG] 19:59:27.148 map.go:String:79 → source: cli
[TRACE] 19:59:27.148 terminal.go:Flags() - 70ns
[DEBUG] 19:59:27.148 map.go:Bool:141 → fetch_status: true
[TRACE] 19:59:27.148 terminal.go:GOOS() - 70ns
[TRACE] 19:59:27.148 terminal.go:StackCount() - 130ns
[DEBUG] 19:59:27.148 map.go:StringArray:220 → ignore_status: []
[DEBUG] 19:59:27.148 home.go:12 → /home/gonwan
[TRACE] 19:59:27.148 terminal.go:GOOS() - 70ns
[DEBUG] 19:59:27.148 map.go:KeyValueMap:208 → status_formats: map[]
[DEBUG] 19:59:27.148 map.go:KeyValueMap:208 → untracked_modes: map[]
[TRACE] 19:59:27.148 terminal_unix.go:DirIsWritable(/home/gonwan/Documents/github/m3u8-downloader) - 11.66µs
[TRACE] 19:59:27.148 terminal.go:Flags() - 90ns
[DEBUG] 19:59:27.148 map.go:KeyValueMap:208 → ignore_submodules: map[]
[DEBUG] 19:59:27.150 terminal.go:RunCommand:280 → NO DATA
[TRACE] 19:59:27.150 terminal.go:RunCommand(who am i) - 2.402287ms
[TRACE] 19:59:27.150 terminal.go:Flags() - 150ns
[DEBUG] 19:59:27.150 text.go:patchTemplate:149 → {{ if .Data.SSHSession }} {{ end }}{{ .UserName }}
[DEBUG] 19:59:27.151 text.go:patchTemplate:149 → {{ path .Data.Path .Data.Location }}
[DEBUG] 19:59:27.155 terminal.go:RunCommand:280 ↓
# branch.oid 673b6dd959a3216b5003296b00c022c9db4f2416
# branch.head main
# branch.upstream origin/main
# branch.ab +0 -0
? a.txt
[TRACE] 19:59:27.155 terminal.go:RunCommand(git -C /home/gonwan/Documents/github/m3u8-downloader --no-optional-locks -c core.quotepath=false -c color.status=false status -unormal --branch --porcelain=2) - 6.791854ms
[DEBUG] 19:59:27.155 map.go:String:79 → branch_icon:
[DEBUG] 19:59:27.155 map.go:KeyValueMap:208 → mapped_branches: map[]
[DEBUG] 19:59:27.155 map.go:String:83 → branch_template: {{ trunc 25 .Branch }}
[DEBUG] 19:59:27.155 text.go:patchTemplate:149 → {{ trunc 25 .Data.Branch }}
[DEBUG] 19:59:27.155 terminal.go:HasFolder:180 → false
[TRACE] 19:59:27.155 terminal.go:HasFolder(/home/gonwan/Documents/github/m3u8-downloader/.git/rebase-merge) - 25.675µs
[DEBUG] 19:59:27.155 terminal.go:HasFolder:180 → false
[TRACE] 19:59:27.155 terminal.go:HasFolder(/home/gonwan/Documents/github/m3u8-downloader/.git/rebase-apply) - 11.46µs
[DEBUG] 19:59:27.155 map.go:String:79 → commit_icon:
[DEBUG] 19:59:27.155 terminal.go:HasFilesInDir:151 → false
[TRACE] 19:59:27.155 terminal.go:HasFilesInDir(MERGE_MSG) - 100.547µs
[DEBUG] 19:59:27.155 terminal.go:HasFilesInDir:151 → false
[TRACE] 19:59:27.155 terminal.go:HasFilesInDir(CHERRY_PICK_HEAD) - 10.058µs
[DEBUG] 19:59:27.155 terminal.go:HasFilesInDir:151 → false
[TRACE] 19:59:27.155 terminal.go:HasFilesInDir(REVERT_HEAD) - 9.046µs
[DEBUG] 19:59:27.155 terminal.go:HasFilesInDir:151 → false
[TRACE] 19:59:27.155 terminal.go:HasFilesInDir(sequencer/todo) - 9.426µs
[DEBUG] 19:59:27.155 map.go:String:79 → branch_identical_icon: ≡
[DEBUG] 19:59:27.155 map.go:Bool:133 → fetch_push_status: false
[DEBUG] 19:59:27.155 map.go:Bool:141 → fetch_upstream_icon: true
[DEBUG] 19:59:27.155 map.go:String:79 → git_icon:
[DEBUG] 19:59:27.156 terminal.go:FileContent:212 ↓
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://github.com/gonwan/m3u8-downloader
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
remote = origin
merge = refs/heads/main
[user]
name = Binhao Qian
email = gonwan@gmail.com
[TRACE] 19:59:27.156 terminal.go:FileContent(/home/gonwan/Documents/github/m3u8-downloader/.git/config) - 55.127µs
[DEBUG] 19:59:27.156 git.go:getRemoteURL:1078 → remote url found in config: https://github.com/gonwan/m3u8-downloader
[DEBUG] 19:59:27.156 map.go:KeyValueMap:208 → upstream_icons: map[]
[DEBUG] 19:59:27.156 map.go:String:79 → github_icon:
[TRACE] 19:59:27.156 terminal.go:Flags() - 110ns
[DEBUG] 19:59:27.156 text.go:patchTemplate:149 → {{ if .Data.UpstreamURL }}{{ url .Data.UpstreamIcon .Data.UpstreamURL }} {{ end }}{{ .Data.HEAD }}{{if .Data.BranchStatus }} {{ .Data.BranchStatus }}{{ end }}{{ if .Data.Working.Changed }} {{ .Data.Working.String }}{{ end }}{{ if .Data.Staging.Changed }} {{ .Data.Staging.String }}{{ end }}
[DEBUG] 19:59:27.156 text.go:patchTemplate:149 → {{ if or (.Data.Working.Changed) (.Data.Staging.Changed) }}p:yellow{{ end }}
[DEBUG] 19:59:27.156 text.go:patchTemplate:149 → {{ if or (.Data.Working.Changed) (.Data.Staging.Changed) }}p:black{{ end }}
[DEBUG] 19:59:27.156 text.go:patchTemplate:149 → {{ if or (.Data.Working.Changed) (.Data.Staging.Changed) }}p:yellow{{ end }}
[DEBUG] 19:59:27.156 text.go:patchTemplate:149 → {{ if or (.Data.Working.Changed) (.Data.Staging.Changed) }}p:black{{ end }}
[DEBUG] 19:59:27.156 text.go:patchTemplate:149 → {{ if gt .Code 0 }}{{ else }}{{ end }}
[DEBUG] 19:59:27.156 text.go:patchTemplate:149 → {{ if gt .Code 0 }}p:red{{ end }}
[DEBUG] 19:59:27.156 text.go:patchTemplate:149 → {{ if or (.Data.Working.Changed) (.Data.Staging.Changed) }}p:yellow{{ end }}
[DEBUG] 19:59:27.156 text.go:patchTemplate:149 → {{ if gt .Code 0 }}p:red{{ end }}
[TRACE] 19:59:27.156 terminal.go:Shell() - 330ns
[TRACE] 19:59:27.156 terminal.go:Flags() - 121ns
[TRACE] 19:59:27.156 terminal.go:Flags() - 80ns
[TRACE] 19:59:27.156 terminal.go:Flags() - 70ns
[TRACE] 19:59:27.156 terminal.go:Flags() - 70ns
[TRACE] 19:59:27.156 terminal.go:Flags() - 80ns
[TRACE] 19:59:27.156 terminal.go:Flags() - 91ns
[DEBUG] 19:59:27.157 home.go:12 → /home/gonwan
[TRACE] 19:59:27.157 terminal.go:GOOS() - 130ns
[DEBUG] 19:59:27.157 segment.go:Execute:173 → segment: Time
[DEBUG] 19:59:27.157 store.go:]:163 → (session) key not found: toggle_cache
[TRACE] 19:59:27.157 terminal.go:Flags() - 210ns
[TRACE] 19:59:27.157 store.go:](session toggle_cache) - 17.12µs
[DEBUG] 19:59:27.157 segment.go:isToggled:291 → no toggles found
[DEBUG] 19:59:27.157 home.go:12 → /home/gonwan
[TRACE] 19:59:27.157 terminal.go:GOOS() - 80ns
[DEBUG] 19:59:27.157 map.go:String:79 → time_format: 15:04:05
[DEBUG] 19:59:27.157 segment.go:Execute:173 → segment: Go
[TRACE] 19:59:27.157 terminal.go:Flags() - 100ns
[TRACE] 19:59:27.157 terminal.go:Flags() - 240ns
[TRACE] 19:59:27.157 terminal.go:Flags() - 81ns
[DEBUG] 19:59:27.157 store.go:]:163 → (session) key not found: toggle_cache
[DEBUG] 19:59:27.157 home.go:12 → /home/gonwan
[TRACE] 19:59:27.157 store.go:](session toggle_cache) - 11.34µs
[DEBUG] 19:59:27.157 segment.go:isToggled:291 → no toggles found
[TRACE] 19:59:27.157 terminal.go:GOOS() - 80ns
[DEBUG] 19:59:27.157 segment.go:Execute:173 → segment: Shell
[DEBUG] 19:59:27.157 home.go:12 → /home/gonwan
[TRACE] 19:59:27.157 terminal.go:Flags() - 210ns
[DEBUG] 19:59:27.157 map.go:StringArray:220 → extensions: [*.go go.mod go.sum go.work go.work.sum]
[DEBUG] 19:59:27.157 store.go:]:163 → (session) key not found: toggle_cache
[TRACE] 19:59:27.157 store.go:](session toggle_cache) - 50.909µs
[DEBUG] 19:59:27.157 store.go:]:163 → (session) key not found: toggle_cache
[DEBUG] 19:59:27.157 segment.go:isToggled:291 → no toggles found
[TRACE] 19:59:27.157 store.go:](session toggle_cache) - 14.535µs
[DEBUG] 19:59:27.157 segment.go:isToggled:291 → no toggles found
[TRACE] 19:59:27.157 store.go:](session toggle_cache) - 15.938µs
[DEBUG] 19:59:27.157 map.go:KeyValueMap:208 → mapped_shell_names: map[]
[DEBUG] 19:59:27.157 segment.go:isToggled:291 → no toggles found
[TRACE] 19:59:27.157 terminal.go:Shell() - 130ns
[TRACE] 19:59:27.157 terminal.go:Flags() - 50ns
[DEBUG] 19:59:27.157 map.go:StringArray:220 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .vue]
[DEBUG] 19:59:27.157 map.go:StringArray:220 → folders: []
[DEBUG] 19:59:27.157 map.go:String:83 → display_mode: files
[DEBUG] 19:59:27.157 map.go:Bool:141 → home_enabled: false
[TRACE] 19:59:27.157 terminal.go:Flags() - 70ns
[DEBUG] 19:59:27.157 home.go:12 → /home/gonwan
[DEBUG] 19:59:27.157 map.go:String:83 → display_mode: files
[DEBUG] 19:59:27.157 map.go:StringArray:220 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 19:59:27.157 map.go:StringArray:220 → folders: [.venv venv virtualenv venv-win pyenv-win]
[DEBUG] 19:59:27.157 map.go:Bool:141 → fetch_package_manager: false
[DEBUG] 19:59:27.157 map.go:Bool:133 → home_enabled: false
[DEBUG] 19:59:27.157 home.go:12 → /home/gonwan
[DEBUG] 19:59:27.157 map.go:Bool:141 → fetch_virtual_env: false
[DEBUG] 19:59:27.157 terminal.go:HasFilesInDir:151 → false
[DEBUG] 19:59:27.157 terminal.go:HasFilesInDir:151 → false
[TRACE] 19:59:27.157 terminal.go:HasFilesInDir(*.go) - 86.943µs
[TRACE] 19:59:27.157 terminal.go:HasFilesInDir(*.py) - 11.39µs
[DEBUG] 19:59:27.157 terminal.go:HasFilesInDir:151 → false
[TRACE] 19:59:27.157 terminal.go:HasFilesInDir(go.mod) - 15.287µs
[DEBUG] 19:59:27.157 terminal.go:HasFilesInDir:151 → false
[DEBUG] 19:59:27.157 terminal.go:HasFilesInDir:151 → false
[TRACE] 19:59:27.157 terminal.go:HasFilesInDir(*.ipynb) - 19.845µs
[TRACE] 19:59:27.157 terminal.go:HasFilesInDir(go.sum) - 5.209µs
[DEBUG] 19:59:27.157 terminal.go:HasFilesInDir:151 → false
[DEBUG] 19:59:27.157 terminal.go:HasFilesInDir:151 → false
[TRACE] 19:59:27.157 terminal.go:HasFilesInDir(go.work) - 4.929µs
[TRACE] 19:59:27.157 terminal.go:HasFilesInDir(pyproject.toml) - 6.1µs
[DEBUG] 19:59:27.157 terminal.go:HasFilesInDir:151 → false
[TRACE] 19:59:27.157 terminal.go:HasFilesInDir(go.work.sum) - 4.989µs
[TRACE] 19:59:27.157 terminal.go:HasFilesInDir(venv.bak) - 5.029µs
[DEBUG] 19:59:27.157 map.go:StringArray:220 → tooling: [mod go]
[DEBUG] 19:59:27.157 terminal.go:HasFilesInDir:151 → false
[DEBUG] 19:59:27.157 terminal.go:HasFolder:180 → false
[TRACE] 19:59:27.157 terminal.go:HasFilesInDir(*.js) - 74.191µs
[TRACE] 19:59:27.157 terminal.go:Flags() - 40ns
[TRACE] 19:59:27.157 terminal.go:HasFolder(.venv) - 13.314µs
[DEBUG] 19:59:27.157 terminal.go:HasFilesInDir:146 → true
[TRACE] 19:59:27.157 terminal.go:HasFilesInDir(*.ts) - 5.96µs
[DEBUG] 19:59:27.157 terminal.go:HasFolder:180 → false
[DEBUG] 19:59:27.157 map.go:StringArray:220 → tooling: [node]
[TRACE] 19:59:27.157 terminal.go:HasFolder(venv) - 7.634µs
[DEBUG] 19:59:27.157 map.go:Bool:133 → fetch_version: true
[DEBUG] 19:59:27.157 terminal.go:HasFolder:180 → false
[TRACE] 19:59:27.157 terminal.go:HasFolder(virtualenv) - 4.949µs
[DEBUG] 19:59:27.157 store.go:]:163 → (device) key not found: version_node
[DEBUG] 19:59:27.157 terminal.go:HasFolder:180 → false
[TRACE] 19:59:27.157 store.go:](device version_node) - 7.433µs
[TRACE] 19:59:27.157 terminal.go:HasFolder(venv-win) - 5.259µs
[DEBUG] 19:59:27.157 terminal.go:HasFolder:180 → false
[TRACE] 19:59:27.157 terminal.go:HasFolder(pyenv-win) - 5.8µs
[DEBUG] 19:59:27.157 map.go:StringArray:220 → tooling: [pyenv python python3 py]
[DEBUG] 19:59:27.157 terminal.go:CommandPath:304 → /home/gonwan/.nvm/versions/node/v18.20.8/bin/node
[TRACE] 19:59:27.157 terminal.go:Flags() - 80ns
[TRACE] 19:59:27.157 terminal.go:CommandPath(node) - 29.411µs
[TRACE] 19:59:27.157 terminal.go:HasCommand(node) - 33.078µs
[DEBUG] 19:59:27.164 terminal.go:RunCommand:280 → v18.20.8
[TRACE] 19:59:27.164 terminal.go:RunCommand(node --version) - 7.335849ms
[DEBUG] 19:59:27.164 map.go:String:79 → version_url_template: https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V{{ .Major }}.md#{{ .Full }}
[DEBUG] 19:59:27.164 text.go:patchTemplate:149 → https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V{{ .Data.Major }}.md#{{ .Data.Full }}
[DEBUG] 19:59:27.164 map.go:String:79 → cache_duration: none
[TRACE] 19:59:27.164 store.go:](device version_node) - 401ns
[ERROR] 19:59:27.164 terminal.go:FileContent:207 → open /home/gonwan/Documents/github/m3u8-downloader/.nvmrc: no such file or directory
[TRACE] 19:59:27.164 terminal.go:FileContent(.nvmrc) - 14.275µs
[TRACE] 19:59:27.164 terminal.go:Flags() - 70ns
[DEBUG] 19:59:27.165 text.go:patchTemplate:149 → in <p:blue><b>{{ .Data.Name }}</b></>
[DEBUG] 19:59:27.165 text.go:patchTemplate:149 → at <p:blue><b>{{ .Data.CurrentDate | date "15:04:05" }}</b></>
[TRACE] 19:59:27.165 terminal.go:Shell() - 160ns
[TRACE] 19:59:27.165 terminal.go:Flags() - 80ns
[TRACE] 19:59:27.165 terminal.go:Shell() - 50ns
[DEBUG] 19:59:27.166 terminal_unix.go:TerminalWidth:83 → terminal width: 204
[TRACE] 19:59:27.166 terminal_unix.go:TerminalWidth() - 1.07692ms
[TRACE] 19:59:27.166 path.go:Path() - 90ns
Code of Conduct
What happened?
Language segement not shown any more. It used to work, may be caused by some system upgrade changes.
Also tried some old versions 28.x, 24.x, did not work as well.
oh-my-posh debugandoh-my-posh print rightprint the correct prompt.Theme
The default theme and config.
What OS are you seeing the problem on?
LinuxMint 22.3
Which shell are you using?
bash
Log output