====== Windows Terminal ====== ===== 添加Windows Terminal到右键菜单 ===== 详见[[https://github.com/kerol2r20/Windows-terminal-context-menu| Windows-terminal-context-menu]] ==== Install ==== - Clone this repo git clone https://github.com/kerol2r20/Windows-terminal-context-menu - Run powershell (no need to get admin access right) - Change the execution policy Set-ExecutionPolicy Unrestricted -scope CurrentUser - Run SetupContextMenu.ps1 script ===== 安装常见问题 ===== 安装报错,可能是由于修改过Windows Terminal的配置文件导致的,重命名%LocalAppData%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json为其他文件名,再运行Windows Terminal(这样就可以生成默认的settings.json文件),再卸载右键菜单,再安装,最后将之前重命名的文件名恢复即可 ==== Uninstall ==== Run SetupContextMenu.ps1 -uninstall:$true