You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: package.json
+4
Original file line number
Diff line number
Diff line change
@@ -573,17 +573,20 @@
573
573
},
574
574
"powershell.powerShellAdditionalExePaths": {
575
575
"type": "object",
576
+
"default": {},
576
577
"description": "Specifies a list of versionName / exePath pairs where exePath points to a non-standard install location for PowerShell and versionName can be used to reference this path with the powershell.powerShellDefaultVersion setting.",
577
578
"additionalProperties": {
578
579
"type": "string"
579
580
}
580
581
},
581
582
"powershell.powerShellDefaultVersion": {
582
583
"type": "string",
584
+
"default": "",
583
585
"description": "Specifies the PowerShell version name, as displayed by the 'PowerShell: Show Session Menu' command, used when the extension loads e.g \"Windows PowerShell (x86)\" or \"PowerShell Core 7 (x64)\". You can specify additional PowerShell executables by using the \"powershell.powerShellAdditionalExePaths\" setting."
584
586
},
585
587
"powershell.powerShellExePath": {
586
588
"type": "string",
589
+
"default": "",
587
590
"scope": "machine",
588
591
"description": "REMOVED: Please use the \"powershell.powerShellAdditionalExePaths\" setting instead.",
589
592
"deprecationMessage": "Please use the \"powershell.powerShellAdditionalExePaths\" setting instead."
@@ -652,6 +655,7 @@
652
655
},
653
656
"powershell.cwd": {
654
657
"type": "string",
658
+
"default": "",
655
659
"description": "An explicit start path where the PowerShell Extension Terminal will be launched. Both the PowerShell process's and the shell's location will be set to this directory. A fully resolved path must be provided!"
@@ -196,6 +193,10 @@ export function getSettings(): ISettings {
196
193
useCorrectCasing: false,
197
194
};
198
195
196
+
// We follow the same convention as VS Code - https://github.com/microsoft/vscode/blob/ff00badd955d6cfcb8eab5f25f3edc86b762f49f/src/vs/workbench/contrib/terminal/browser/terminal.contribution.ts#L105-L107
197
+
// "Unlike on Linux, ~/.profile is not sourced when logging into a macOS session. This
198
+
// is the reason terminals on macOS typically run login shells by default which set up
199
+
// the environment. See http://unix.stackexchange.com/a/119675/115410"
// We follow the same convention as VS Code - https://github.com/microsoft/vscode/blob/ff00badd955d6cfcb8eab5f25f3edc86b762f49f/src/vs/workbench/contrib/terminal/browser/terminal.contribution.ts#L105-L107
269
-
// "Unlike on Linux, ~/.profile is not sourced when logging into a macOS session. This
270
-
// is the reason terminals on macOS typically run login shells by default which set up
271
-
// the environment. See http://unix.stackexchange.com/a/119675/115410"
0 commit comments