mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-09-20 21:47:31 -07:00
parent
b3c4ceafd0
commit
6b4c940880
|
@ -98,7 +98,7 @@ func (env *ShellEnvironment) WindowsRegistryKeyValue(path string) (*WindowsRegis
|
|||
}
|
||||
|
||||
func (env *ShellEnvironment) InWSLSharedDrive() bool {
|
||||
if !env.IsWsl() {
|
||||
if !env.IsWsl2() {
|
||||
return false
|
||||
}
|
||||
windowsPath := env.ConvertToWindowsPath(env.Pwd())
|
||||
|
|
Loading…
Reference in a new issue