From f82fb011aa7dc5cf9c1e98780a19904122e5ecd0 Mon Sep 17 00:00:00 2001 From: Steven Hobs Date: Sun, 24 Aug 2025 17:41:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除wsl2 防火墙说明,修改安装命令 --- README.md | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 8c37300..77feb2c 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,11 @@ lazyzsh 的目录为 `~/.lazyzsh/` **安装命令** ``` -git clone --depth 1 https://git.unvec.site/stevenhobs/lazyzsh ~/.lazyzsh #克隆代码 -echo "source ~/.lazyzsh/lazy.zsh" >> ~/.zshrc #引入配置 +#克隆代码 +git clone --depth 1 https://git.unvec.site/stevenhobs/lazyzsh ~/.lazyzsh + +#引入配置 +echo "source ~/.lazyzsh/lazy.zsh" >> ~/.zshrc ``` 你可以修改`init_plugins.zsh`开头内容以禁用某些插件。 @@ -53,16 +56,3 @@ zsh ~/.lazyzsh/x_add_cli.zsh - fd - bat - aichat - -## 其他 - -- wsl2 关闭 Win 防火墙拦截,用于放行Wsl对windows宿主机的代理请求 - PowerShell 管理远模式打开 根据自己的 WSL 网卡类型执行 - - ```powershell - # 网卡 vEthernet (WSL (Hyper-V firewall)) - New-NetFirewallRule -DisplayName "WSL" -Direction Inbound -InterfaceAlias "vEthernet (WSL (Hyper-V firewall))" -Action Allow - - # 网卡 vEthernet (WSL) - New-NetFirewallRule -DisplayName "WSL" -Direction Inbound -InterfaceAlias "vEthernet (WSL)" -Action Allow - ```