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