- can override settings by edit "/etc/wsl.conf"
- normally this file is not exists at first
$ sudo vi /etc/wsl.conf
[interop]
appendWindowsPath = false
$ exit
c:\Users\user> wsl
$ echo $PATH
[automount]
enabled = true
mountFsTab = true
root = "/mnt/"
options =
[network]
generateHosts = true
generateResolvConf = true
[interop]
enabled = true
appendWindowsPath = true
I need to WSL2 interop to run
code .
but the excess of/mnt/c
directories from windows in Ubuntu WSL2PATH
leads to slow python runs.So how could I manually edit
appendWindowsPath
so I can runcode .
and just that?