WSL2 Setup
Trying out setting up WSL2 for Windows to try it out again as WSL2 says it has higher performance. When I tried it out before WSL (1) was slow for web projects when there were a lot of node packages.
Followed this links to do the initial setup:
https://blog.nillsf.com/index.php/2020/02/17/setting-up-wsl2-windows-terminal-and-oh-my-zsh/
Some modifications:
- Used Dracula theme instead: https://draculatheme.com/windows-terminal
- Set Font to "Inconsolata for Powerline"
- zsh wasn't setup as default despite saying yes during install and had to manually add this to ~/.bashrc: https://blog.joaograssi.com/windows-subsystem-for-linux-with-oh-my-zsh-conemu/
if test -t 1; then
exec zsh
fi
After setting up WSL2 setting up node and VSCode and installing the Remote-WSL Extension:
https://docs.microsoft.com/en-us/windows/nodejs/setup-on-wsl2