Skip to content

Instantly share code, notes, and snippets.

@Korveld
Created December 19, 2018 16:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Korveld/2f3895dd5e47b92ec241305effbb4a72 to your computer and use it in GitHub Desktop.
Save Korveld/2f3895dd5e47b92ec241305effbb4a72 to your computer and use it in GitHub Desktop.
Добавление пункта "Открыть окно Bash здесь" для работы с Ubuntu shell в текущей папке Windows 10
Windows Registry Editor Version 5.00
; Created by:Shawn Brink
; Created on: August 13th 2016
; Tutorial: http://www.tenforums.com/tutorials/60125-open-bash-window-here-context-menu-add-windows-10-a.html
[HKEY_CLASSES_ROOT\Directory\Background\shell\Bash]
@="Открыть окно Bash здесь"
"Extended"=-
[HKEY_CLASSES_ROOT\Directory\Background\shell\Bash\command]
@="cmd.exe /c pushd \"%V\" && bash.exe"
[HKEY_CLASSES_ROOT\Directory\shell\Bash]
@="Открыть окно Bash здесь"
"Extended"=-
[HKEY_CLASSES_ROOT\Directory\shell\Bash\command]
@="cmd.exe /c pushd \"%V\" && bash.exe"
[HKEY_CLASSES_ROOT\Drive\shell\Bash]
@="Открыть окно Bash здесь"
"Extended"=-
[HKEY_CLASSES_ROOT\Drive\shell\Bash\command]
@="cmd.exe /c pushd \"%V\" && bash.exe"
[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Bash]
@="Открыть окно Bash здесь"
"Extended"=-
[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Bash\command]
@="cmd.exe /c pushd \"%V\" && bash.exe"
@3r3k3n
Copy link

3r3k3n commented Oct 28, 2020

Thanks

@Eliot1111
Copy link

Eliot1111 commented Dec 13, 2022

How to use it?

@Korveld
Copy link
Author

Korveld commented Dec 14, 2022

you need to create file Add_Open_Bash_context_menu.reg paste there all this lines of code. and just run it. Full guide here http://www.tenforums.com/tutorials/60125-open-bash-window-here-context-menu-add-windows-10-a.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment