Window 10 下终端配置与美化
WSL / MSYS2 / Cygwin / PowerShell7
Fluent Terminal / Windows Terminal
WSL 配置 zsh
wsl 下 git clone 报错:GnuTLS recv error (-110): The TLS connection was non-properly terminated.
安装 zsh
apt install -y zsh |
安装 oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
配置插件
插件列表 https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins
zsh-syntax-highlighting
zsh-autosuggestions
zsh-proxy
# 安装 zsh-syntax-highlighting 插件 |
修改 ~/.zshrc,在 plugins 中添加 zsh-syntax-highlighting
# 编辑 ~/.zshrc |
zsh-proxy
主题
主题列表
推荐两款主题
pure主题
agnoster
PowerShell 7+ 配置 oh-my-posh & posh-git
https://zhuanlan.zhihu.com/p/137595941
https://zhuanlan.zhihu.com/p/137251716
安装 Fira Code 字体
Fira Code