

The old method of modifying the Starting directory in the Windows Terminal Ubuntu-20.04 profile no longer works when wsl is not yet initialized :( Fix exit behaviourĪnother annoyance I noticed is sometimes, when you type command exit, the active Windows Terminal tab does not actually exit. To fix this, simply add this to the very end of your ~/.bashrc: # use the home directory if a new bash shell spawns in a /mnt/c/* directory It will take you to your $HOME, but to do this EVERY TIME is an annoyance I cannot live with, and neither should you. You'll notice the starting directory isn't quite what you expect. The first thing I noticed is I wanted WSL as my default command line environment, so let's fix that. Or if you can't access the store for some reason, you can try the installer from the github release assets. You can use the Microsoft Store to install it It seems I wasn't the only one as Microsoft has made a brand new terminal application (called Windows Terminal) to replace the old ones. Written July 18, 2021, Updated July 29, 2021Īs a long time Linux/mac user, I could not stand the built-in Command Prompt/Windows PowerShell terminal application.
