From 5df8d89902190eb42e7b907ecb728c5087294352 Mon Sep 17 00:00:00 2001 From: "L. Yeung" Date: Thu, 1 Sep 2022 16:28:03 +0800 Subject: [PATCH] fix(path): map to default registry icon correctly --- src/segments/path.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/segments/path.go b/src/segments/path.go index 1bf48e5b..d3d45390 100644 --- a/src/segments/path.go +++ b/src/segments/path.go @@ -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, "~") }