# LAZYZSH ZSH终端增强懒人包 ## 前提 1. zsh 2. git ## 安装 一行命令 ``` git clone --depth 1 https://git.unvec.site/stevenhobs/lazyzsh ~/.lazyzsh && echo "source $HOME/.lazyzsh/lazy.zsh" >> ~/.zshrc ``` ## 其他 - wsl2关闭Win防火墙拦截 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 ```