Any idea on how I can change the starting directory to my WSL home directory? Currently, I type cd ~ anytime I want to make this switch.
I would suggest you to define the HOME environment variable. This worked for me with Git Bash.
Add this to your settings in the relevant profile: "startingDirectory": "//wsl$/Ubuntu/home/yourname" or whatever is the path that works in Explorer.
Thanks! It works.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.