Zsh 用户指引
配置
PROMPT
ZSH_THEME="ys"
VIRTUAL_ENV=(%B%F{77}'['$WSL_DISTRO_NAME']'%f%b)
Oh My Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# jsdelivr CDN
curl -sS https://cdn.jsdelivr.net/gh/ohmyzsh/ohmyzsh/tools/install.sh | bash
# 中国镜像
sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)"
# 插件 zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions