mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
fix: add HKLM to the registry locations
This commit is contained in:
parent
8978038a3c
commit
1f8de84278
|
@ -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, "~"),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue