How do I add a new console font to phpstorm for use with ZSH when using WSL2 as the terminal in phpstorm?

I installed ZSH and used  used oh-my-zsh to configure windows terminal for WSL-2. I installed nerd-fonts on windows to get all the icons to display correct at the windows terminal.  I have phpstorm configured to used wsl.exe for the terminal. However, phpstorm does not display the font correctly. If I used windows terminal, it displays correctly.

The nerd font I installed on windows does not show up in the list of fonts when I check the console font list in phpstorm. It does show up in the list of editor fonts. How do I get phpstorm to use these custom fonts so that zsh terminal icons show up correctly.


Please sign in to leave a comment.