mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -08:00
parent
07eba99d6e
commit
199993b891
|
@ -98,7 +98,7 @@ func (env *ShellEnvironment) WindowsRegistryKeyValue(path string) (*WindowsRegis
|
|||
}
|
||||
|
||||
func (env *ShellEnvironment) InWSLSharedDrive() bool {
|
||||
return env.IsWsl() && strings.HasPrefix(env.Pwd(), "/mnt/")
|
||||
return env.IsWsl() && strings.HasPrefix(env.Pwd(), "/mnt/c")
|
||||
}
|
||||
|
||||
func (env *ShellEnvironment) ConvertToWindowsPath(path string) string {
|
||||
|
|
Loading…
Reference in a new issue