You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Path segment with location hyperlink stopped working in (Git) Bash on Windows, while still working in Cmd (w/ Clink). I've narrowed the regression window to: v21.10.1...v21.10.2
Happens with v21.13.1, also. As far as I see the link with Cmd is file:C:\Users\stanio, while in Bash it ends up file:C:\Usersbashtanio:
ver.
cmd
bash
v21.10.2
v21.10.1
Theme
stanio.omp.jsonc
{"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json","blocks": [{"alignment": "right","segments": [{"foreground": "darkGray","style": "plain","template": "{{ .FormattedMs }} | ","type": "executiontime","properties": {//"always_enabled": true,//"threshold": 50,"style": "round"}},{"foreground": "green","style": "plain","template": "{{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }}","type": "session"},{"foreground": "red","properties": {"root_icon": "root"},"style": "plain","template": " as \uf0e7","type": "root"}//{// "foreground": "darkGray",// "style": "plain",// //"template": "| {{ .CurrentDate | date .Format }} \u001b[2 q",// "template": "| {{ .CurrentDate | date .Format }}",// "type": "time"//}],"type": "prompt"},{"alignment": "left","newline": true,"segments": [{"background": "magenta","background_templates": ["{{ if .Root }}red{{ end }}","{{ if not .Segments.Path.Writable }}white{{ end }}"],"foreground": "black","leading_diamond": "\ue0b6","style": "diamond","template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} ","trailing_diamond": "\ue0b0","type": "os"},{"alias": "Path","background": "yellow","foreground": "black","leading_diamond": "<black,yellow>\ue0b0</>","powerline_symbol": "<yellow,black>\ue0b0","properties": {"folder_separator_icon": " \ue0b1 ","max_depth": 4,"style": "agnoster_short","home_icon": "\uDB80\uDEDC "},"style": "diamond","template": " {{ path .Path .Location }} ","trailing_diamond": "\ue0b0","type": "path"},//{// "type": "command",// "style": "plain",// "foreground": "#ffffff",// "properties": {// //"shell": "bash",// "command": "git config user.email"// }//},{"background": "cyan","foreground": "black","leading_diamond": "<transparent,cyan>\ue0b0</>","properties": {//"branch_icon": "\uE0A0","commit_icon": "\uF417 ","tag_icon": "\uF412 ","fetch_status": true,"fetch_upstream_icon": true,"fetch_user": true,"untracked_modes": {"*": "no"}},"style": "diamond","template": " {{ .UpstreamIcon }} {{ .HEAD }} {{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }} {{ .User.Email }}{{ end }} ","trailing_diamond": "\ue0b4","type": "git"}],"type": "prompt"},{"alignment": "left","newline": true,"segments": [{"foreground": "lightWhite","style": "plain","template": "{{ if eq .Shell \"cmd\" }}\u276f{{ else if .Root }}#{{ else }}${{ end }} ","type": "text"}],"type": "prompt"}],"version": 2}
Code of Conduct
What happened?
Path segment with location hyperlink stopped working in (Git) Bash on Windows, while still working in Cmd (w/ Clink). I've narrowed the regression window to: v21.10.1...v21.10.2
Happens with v21.13.1, also. As far as I see the link with Cmd is
file:C:\Users\stanio
, while in Bash it ends upfile:C:\Usersbashtanio
:Theme
stanio.omp.jsonc
What OS are you seeing the problem on?
Windows
Which shell are you using?
bash, cmd
Log output
The text was updated successfully, but these errors were encountered: