解决方案

  1. 下载Menlo for Powerline字体
    git clone https://github.com/abertsch/Menlo-for-Powerline.git
    
  2. 将字体放到ttf文件夹中
    cd Menlo-for-Powerline
    sudo cp *.ttf* /usr/share/fonts/TTF/
    sudo fc-cache -f -v # 刷新字体
    
  3. 设置vscode中终端的字体为Menlo for Powerline

    参考

  4. 在Ubuntu 18.04系统下vscode中zsh乱码的解决方法

评论




博客内容遵循 署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0) 协议

本站使用 Volantis 作为主题,总访问量为
载入天数...载入时分秒...
冀ICP备20001334号