Skip to content

Commit

Permalink
#692 Improve Windows Terminal with gitbash
Browse files Browse the repository at this point in the history
#692 Improve Windows Terminal with gitbash
  • Loading branch information
CREITZ25 committed Jun 9, 2022
1 parent 6bfdffe commit a387622
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions documentation/advanced-tooling-windows.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Just right-click on the folder you would like to open in a terminal and choose f
* Open devonfw PowerShell here
* Open devonfw Cygwin Bash here (only if cygwin was installed during setup)
* Open devonfw cmd shell in Windows Terminal here (only if Windows Terminal is installed on the system)
* Open devonfw gitbash in Windows Terminal here (only if Windows Terminal is installed on the system)

== Tabs everywhere
Many people got used to _tabs_ that have been introduced by all major browsers:
Expand Down
1 change: 1 addition & 0 deletions scripts/src/main/resources/setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ reg import system/windows/power-shell/devon-power-shell.reg
dir %USERPROFILE%\AppData\Local\Microsoft\WindowsApps\wt.exe >NUL 2>NUL
if "%ERRORLEVEL%" == "0" (
reg import system/windows/wt-cmd/devon-wt-cmd.reg
reg import system/windows/wt-cmd/devon-wt-gitbash.reg
)

for /F "usebackq tokens=2*" %%O in (`call "%SystemRoot%"\system32\reg.exe query "HKLM\Software\Cygwin\setup" /v "rootdir" 2^>nul ^| "%SystemRoot%\system32\findstr.exe" REG_SZ`) do set CYGWIN_HOME=%%P
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\devon_wt_cmd]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\devon_wt_cmd\command]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\devon_wt_cmd]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\devon_wt_cmd\command]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\devon_wt_cmd\command]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\devon_wt_gitbash]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\devon_wt_gitbash\command]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\devon_wt_gitbash]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\devon_wt_gitbash\command]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\devon_wt_gitbash]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\devon_wt_gitbash\command]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\devon_wt_gitbash]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\devon_wt_gitbash\command]
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
regedit.exe /S devon-wt-cmd.reg
regedit.exe /S devon-wt-gitbash.reg
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
regedit.exe /S devon-wt-cmd-uninstall.reg
regedit.exe /S devon-wt-cmd-uninstall.reg
regedit.exe /S devon-wt-gitbash-uninstall.reg

0 comments on commit a387622

Please sign in to comment.