0
0
This commit is contained in:
whoami 2024-05-27 15:35:33 +08:00
parent 57fb6c5e3c
commit 102d17d3bd

24
git-path-setup.md Normal file
View File

@ -0,0 +1,24 @@
创建一个 ps1 脚本:
```powershell
Set-PSReadlineOption -HistorySaveStyle SaveNothing
$env:path+='(redacted)/git/cmd;(redacted)/python'
```
修改 settings.json
```json
"args": [
"-ExecutionPolicy",
"remotesigned",
"-NoExit",
"(redacted)/vscode/data/user-data/User/profile.ps1"
]
```
在 py 目录中做以下更改:
```text
python.exe -> py.exe (防止 powershell 跳转到 ms store
+ sqrtools.pyc
```