Skip to content

Instantly share code, notes, and snippets.

@yzhangcs
Last active May 5, 2020 09:19
Show Gist options
  • Save yzhangcs/6dd76007bd1c2d546704bad059062fdb to your computer and use it in GitHub Desktop.
Save yzhangcs/6dd76007bd1c2d546704bad059062fdb to your computer and use it in GitHub Desktop.
Adds a "Bash" context menu option in Windows Explorer
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Bash]
@="Bash here"
"Icon"="C:\\Program Files\\WindowsApps\\CanonicalGroupLimited.UbuntuonWindows_2004.2020.424.0_x64__79rhkp1fndgsc\\ubuntu.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\Bash\command]
@="C:\\Program Files\\WindowsApps\\CanonicalGroupLimited.UbuntuonWindows_2004.2020.424.0_x64__79rhkp1fndgsc\\ubuntu.exe -c bash"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment