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
Path Segement not working with PSDrive Path #515
Comments
@Ergamon confirmed as a bug. When adding the following it works: {
"type": "path",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#100e23",
"background": "#91ddff",
"properties": {
"folder_icon": "\uF115",
"folder_separator_icon": " \uE0B1 ",
"style": "full",
"mapped_locations": [["HKCU:", "REG"]]
}
} The unit tests work, but E2E with a config file it fails. Will fix. |
Thx for your quick reply, the temporary fix with the mapped_locations works like a charm |
@Ergamon I believe something is off in parsing the themes for that property. When using the regular json support everything works as expected, but using jsonc something strange happens. I'll have to have a closer look but we'll fix it. |
If you check the default mapped_locations, it does what it's supposed to, isn't it?
It replaces HKCU: by \uE0B1 |
@lnu it should yes, but I confirmed this isn't working when a theme is loaded. |
I can reproduce this when running the theme but never in a test scenario (even when loading the config EXACTLY like we do, so fully E2E). I get the feeling I'm missing something obvious (other than time). |
Oh my god. I didn't check that default icon. I feel so stupid right now. Better call it a weekend. |
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. |
Prerequisites
CONTRIBUTING
guideDescription
When the current directory is a virtual path, the root is not shown in the path segment
Environment
Steps to Reproduce
Run
Set-Location HKCU:\
Expected behavior: [What you expected to happen]
The prompt displays a path "HKCU:"
Actual behavior: [What actually happened]
The prompt dispays a path with just the folder_separator_icon
The text was updated successfully, but these errors were encountered: