0
0
test/note/git-path-setup.md
2024-05-27 15:44:06 +08:00

439 B
Raw Permalink Blame History

创建一个 ps1 脚本:

Set-PSReadlineOption -HistorySaveStyle SaveNothing
$env:path+='(redacted)/git/cmd;(redacted)/python'

修改 settings.json

"args": [
    "-ExecutionPolicy",
    "remotesigned",
    "-NoExit",
    "(redacted)/vscode/data/user-data/User/profile.ps1"
]

在 py 目录中做以下更改:

python.exe -> py.exe (防止 powershell 跳转到 ms store
+ sqrtools.pyc