1. The code problem
iTerm2 Terminal use Zsh, And configure Zsh The theme , The theme needs to install fonts to support arrow effect , stay iTerm2 Set this font in , however VSCode The arrow in the display is still garbled .
iTerm2 It's shown as follows :
VSCode It's shown as follows :
Look in the font book to see if it's installed
Meslo LG M for Powerline typeface , If not, install it .
2.2 VSCode Middle configuration
⌘, open settings Interface , Search for
Font Family Add font to
Meslo LG M for Powerline
It can also be in VSCode Of settings.json file , Join in : "terminal.integrated.fontFamily": "Meslo LG M for Powerline",
3. Effect display