pwsh: Persist Microsoft.VSCode_profile.ps1 (#4327)

* Pwsh persist add Microsoft.VSCode_profile.ps1

* Update pwsh.json
This commit is contained in:
Cesaryuan 2023-01-08 15:24:08 +08:00 committed by GitHub
parent 8a78392dd8
commit e702aa6fbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@
}
},
"pre_install": [
"'Microsoft.PowerShell_profile.ps1', 'profile.ps1' | ForEach-Object {",
"'Microsoft.VSCode_profile.ps1', 'Microsoft.PowerShell_profile.ps1', 'profile.ps1' | ForEach-Object {",
" if (!(Test-Path \"$persist_dir\\$_\")) { New-Item \"$dir\\$_\" | Out-Null }",
"}"
],
@ -50,6 +50,7 @@
]
],
"persist": [
"Microsoft.VSCode_profile.ps1",
"Microsoft.PowerShell_profile.ps1",
"profile.ps1"
],