Table of Contents

Windows Terminal

添加Windows Terminal到右键菜单

详见 Windows-terminal-context-menu

Install

  1. Run powershell (no need to get admin access right)
  2. Change the execution policy Set-ExecutionPolicy Unrestricted -scope CurrentUser
  3. Run SetupContextMenu.ps1 script

安装常见问题

安装报错,可能是由于修改过Windows Terminal的配置文件导致的,重命名%LocalAppData%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json为其他文件名,再运行Windows Terminal(这样就可以生成默认的settings.json文件),再卸载右键菜单,再安装,最后将之前重命名的文件名恢复即可

Uninstall

Run SetupContextMenu.ps1 -uninstall:$true