安装zsh及配置(运行下面命令行)
sudo apt-get install zsh -ygit clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zshcp ~/.zshrc ~/.zshrc.backupcp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrcchsh -s /bin/zshreboot// 重启vim .zshrc- 修改主题:
ZSH_THEME="agnoster"// 苹果主题(或者 “ys”: 不错的主题),此时为乱码
安装
powerline字体git clone https://github.com/powerline/fonts.git --depth=1cd fonts./install.shcd ..rm -rf fonts
修改
terminal字体为:droid sans mono dotted for powerline regularvscode下zsh乱码
cd /usr/share/fonts/truetype/sudo git clone https://github.com/abertsch/Menlo-for-Powerline.gitsudo fc-cache -f -v- 设置vscode中的字体为
Menlo for Powerline
107. zsh、vscode字体及主题配置
- 本文链接: http://example.com/2020/12/26/2020-9-3-107/
- 版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!