From e702aa6fbcc7b380a70733e9a25c88d002f80691 Mon Sep 17 00:00:00 2001 From: Cesaryuan <35998162+cesaryuan@users.noreply.github.com> Date: Sun, 8 Jan 2023 15:24:08 +0800 Subject: [PATCH] pwsh: Persist Microsoft.VSCode_profile.ps1 (#4327) * Pwsh persist add Microsoft.VSCode_profile.ps1 * Update pwsh.json --- bucket/pwsh.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bucket/pwsh.json b/bucket/pwsh.json index 50f517c747..e96b244b35 100644 --- a/bucket/pwsh.json +++ b/bucket/pwsh.json @@ -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" ],