Skip to content

Instantly share code, notes, and snippets.

@natesubra
Last active September 8, 2020 16:33
Show Gist options
  • Select an option

  • Save natesubra/cc5570624285b927d5d9a40a0d463a4c to your computer and use it in GitHub Desktop.

Select an option

Save natesubra/cc5570624285b927d5d9a40a0d463a4c to your computer and use it in GitHub Desktop.
Open Windows Terminal Here
Windows Registry Editor Version 5.00
# https://raw.githubusercontent.com/microsoft/terminal/master/res/terminal.ico
# Make sure you correct the user profile
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt_cmd]
@="Windows Terminal Here (cmd)"
"Icon"="C:\\path\\to\\ico\\terminal.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt_cmd\command]
@="C:\\Users\\<userprofile_here>\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe new-tab -p \"cmd\" -d \"%V\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt_pwsh]
@="Windows Terminal Here (pwsh)"
"Icon"="C:\\path\\to\\ico\\terminal.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt_pwsh\command]
@="C:\\Users\\<userprofile_here>\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe -p new-tab \"PowerShell\" -d \"%V\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt_wlinux]
@="Windows Terminal Here (Pengwin)"
"Icon"="C:\\Users\\<userprofile_here>\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt_wlinux\command]
@="C:\\Users\\<userprofile_here>\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe new -tab -p \"WLinux\" -d \"%V\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment