- 安装新版PowerShell(参考)
在官方仓库下载最新版安装包PowerShell-7.0.3-win-x64.msi
在Windows Terminal
修改设置(可通过⊞+R→wt
调出)
{
"guid":"{993814ae-dbc3-49de-a19c-998ad689aedd}",
"name":"Powershell",
"commandline":"D:/Software/PowerShell/7/pwsh.exe",
"startingDirectory":".",
"hidden":false,
"icon": "D:/Software/PowerShell/7/assets/Powershell_black.ico",
"colorScheme": "Campbell Powershell",
"antialiasingMode": "grayscale",
"closeOnExit": "graceful",
"cursorShape": "bar",
"fontFace": "Cascadia Mono",
"fontSize": 12,
"historySize": 9001,
"padding": "8, 8, 8, 8",
"snapOnInput": true,
"altGrAliasing": true,
"useAcrylic": false
}
- MSDN