fix: add HKLM to the registry locations

This commit is contained in:
Jan De Dobbeleer 2020-10-09 08:06:35 +02:00 committed by Jan De Dobbeleer
parent 8978038a3c
commit 1f8de84278

View file

@ -58,7 +58,8 @@ func (pt *path) init(props *properties, env environmentInfo) {
func (pt *path) getShortPath() string {
pwd := pt.env.getcwd()
mappedLocations := map[string]string{
"HKCU:": pt.props.getString(WindowsRegistryIcon, "HK:"),
"HKCU:": pt.props.getString(WindowsRegistryIcon, "REGISTRY"),
"HKLM:": pt.props.getString(WindowsRegistryIcon, "REGISTRY"),
"Microsoft.PowerShell.Core\\FileSystem::": "",
pt.env.homeDir(): pt.props.getString(HomeIcon, "~"),
}