解决win10系统中PATH和WSL中LinuxPATH混淆

# 不加载Windows中的PATH内容

cat << "eof" > /etc/wsl.conf
[interop]

appendWindowsPath = false
eof

# 不自动挂载Windows系统所有磁盘分区

cat << "eof" >> /etc/wsl.conf
[automount]

enabled = yes
eof
huan

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: