I am trying to run VSCode in my Ubuntu WSL2.
When I run code . , zsh is unable to find VSCode.
I have installed Remote - WSL plugin in VSCode, and I am able to open my Ubuntu Instance from Windows. I want to achieve it from Ubuntu terminal as well.
ayman@DESKTOP ~ code .
zsh: command not found: code
I have tried wsl --shutdown and then reinstalling Remote-WSL plugin, but it still does not work.
Is there a zsh configuration required for running VSCode from terminal? If so, what are the configurations required?