Skip to content

Instantly share code, notes, and snippets.

@himanshuxd
Created April 1, 2020 15:34
Show Gist options
  • Select an option

  • Save himanshuxd/c300bf2adfd6aa84c86a38298558e18d to your computer and use it in GitHub Desktop.

Select an option

Save himanshuxd/c300bf2adfd6aa84c86a38298558e18d to your computer and use it in GitHub Desktop.

Revisions

  1. himanshuxd revised this gist Apr 1, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions WSL-context-menu.reg
    Original file line number Diff line number Diff line change
    @@ -6,3 +6,4 @@ Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\Directory\Background\shell\WSL2\command]
    @="C:\Windows\System32\wsl.exe"

  2. himanshuxd created this gist Apr 1, 2020.
    8 changes: 8 additions & 0 deletions WSL-context-menu.reg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\Directory\Background\shell\WSL2]
    @="Open Ubuntu Bash here"
    "Icon"="Path\\to\\your\\file.ico"

    [HKEY_CLASSES_ROOT\Directory\Background\shell\WSL2\command]
    @="C:\Windows\System32\wsl.exe"