partsjae.blogg.se

Windows terminal wsl profile
Windows terminal wsl profile




windows terminal wsl profile windows terminal wsl profile

To make it easy to get this path you can run the following command from your distro. Backslashes need to be escaped, so this becomes \\\\wsl$\\.The path needs to be a Windows path - so for your HOME folder in WSL you need to use the \\wsl$\.There are two things to bear in mind for this property: For each profile you can set a startingDirectory property. Fire up Windows Terminal and press Ctrl+, to open the JSON settings. When you embrace this mindset, having Windows Terminal put you in a mounted Windows path is less helpful - I like to have it default to my HOME directory for the distro.įear not! This can be configured in the Windows Terminal settings. mnt/c/Users/stuart).Īs this post by Simon Ferquel suggests: “Fully embrace WSL2”! In other words, use the file system in your WSL distro. As a WSL user, a really nice feature is that it auto-detects the WSL distros you have installed.īy default, when you launch Windows Terminal for a WSL distro it puts you in the /mnt/. Windows Terminal is the new Terminal experience from the Windows team. Cross-posted from wsl.tips/tips/windows-terminal-start-directory






Windows terminal wsl profile