diff --git a/src/environment/shell_unix.go b/src/environment/shell_unix.go index 85077f83..3060fbca 100644 --- a/src/environment/shell_unix.go +++ b/src/environment/shell_unix.go @@ -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 {