mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -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 {
|
func (pt *path) getShortPath() string {
|
||||||
pwd := pt.env.getcwd()
|
pwd := pt.env.getcwd()
|
||||||
mappedLocations := map[string]string{
|
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::": "",
|
"Microsoft.PowerShell.Core\\FileSystem::": "",
|
||||||
pt.env.homeDir(): pt.props.getString(HomeIcon, "~"),
|
pt.env.homeDir(): pt.props.getString(HomeIcon, "~"),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue