/Windows-terminal-context-menu

📃 This is a simple script to add right click context menu for your best Windows terminal ❤

Primary LanguagePowerShell

🧾 Windows-terminal-context-menu

Inspire from Windows terminal issue Add "open Windows terminal here" into right-click context menu #1060. Thanks you all giants ❤

Windows terminal is an excellent terminal. But it no offer a basic function which is right click context menu!
Without it, I have to cd to my working directory everytime. It's inefficient.

So I write this script to deal with it.

Feature

  • Two layers context menu
  • Auto parse profiles.json to contruct menu
  • With uninstaller

Install

  1. Clone this repo git clone https://github.com/kerol2r20/Windows-terminal-context-menu
  2. Run powershell as adminstrator
  3. Run Set-ExecutionPolicy Unrestricted once (Choose 'Y' when prompted)
  4. Run SetupContextMenu.ps1 script
  5. (Optional) Run Set-ExecutionPolicy Restricted to revert step 3 (Choose 'Y' when prompted)

Uninstall

  1. Run SetupContextMenu.ps1 -uninstall:$true

Misc

I'm not sure that icons file are legal or not. If you feel not ok, please tell me. Thanks.