Open bash in current folder from context menu
I would love a right-click option in a folder to open the current folder in a WSL distro. right click to open in the folder C:\Users\account would open a terminal in /mnt/C/Users/account
Kowalski Prime (Kowalski7cc) commented
Maybe can be resolved in this way:
This request has already been posted. It has over 770 votes too.
another way I found, is when you browse a folder in explorer, in the path of the window, just clear it and write 'bash' (you can just type over it as it's selected text), that will launch bash with this folder path as its pwd (this works just as you would type cmd in the path)
This is one of the first things I changed once I got WSL working, I made all the Open In CMD/Powershell context menu options into Open Bash window here. The trick I found is I needed to set the command key to:
`cmd.exe /s /k pushd "%V" && bash && exit`
The keys to change are in:
Thank you Terica, the solution you mentioned in the second post is working! I feel pretty confident with the regeditor but I still can imagine that some folks would prefer a standard solution.
Another angle same concept - Good luck and back up that registry #1
You can do this now: create a text file with reg keys and save it as a .reg