I have WSL (Windows Subsystem for Linux) set up on my computer with Ubuntu.
When I want a Linux session, I hit Win+R
bash because it's short and quick.
However, it always drops me into
I want it to drop me into my Ubuntu home directory (
I've tried adding
cd ~ to my .bash_profile, but then whenever I try to run
bash from the command line, it always takes me to
~, instead of opening bash in the current directory.
I can get around this by running
ubuntu from the Run Dialog, but it takes longer and is harder to spell.
How can I get
bash to open
~ when run from the run dialog, and the current working directory when run from Command Prompt or PowerShell? Or, what are some good workarounds?