用于在 WSL(Windows Subsystem for Linux)中自动配置代理,连接到 Windows 主机的代理服务。
使用方法
将以下脚本添加到 ~/.bashrc 文件中,然后执行 source ~/.bashrc 使其生效。

代码脚本

cat >> ~/.bashrc