主题
适用于 Linux 的 Windows 子系统
export hostip=$(cat /etc/resolv.conf | grep -oP '(?<=nameserver\ ).*') export http_proxy="http://$hostip:7890" export https_proxy="http://$hostip:7890"