mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 04:19:41 -08:00
fix(path): map to default registry icon correctly
This commit is contained in:
parent
e5b3b00a43
commit
5df8d89902
|
@ -357,8 +357,8 @@ func (pt *Path) replaceMappedLocations(pwd string) string {
|
|||
|
||||
mappedLocations := map[string]string{}
|
||||
if pt.props.GetBool(MappedLocationsEnabled, true) {
|
||||
mappedLocations["HKCU:"] = pt.props.GetString(WindowsRegistryIcon, "\uF013")
|
||||
mappedLocations["HKLM:"] = pt.props.GetString(WindowsRegistryIcon, "\uF013")
|
||||
mappedLocations["hkcu:"] = pt.props.GetString(WindowsRegistryIcon, "\uF013")
|
||||
mappedLocations["hklm:"] = pt.props.GetString(WindowsRegistryIcon, "\uF013")
|
||||
mappedLocations[pt.normalize(pt.env.Home())] = pt.props.GetString(HomeIcon, "~")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue