Skip to content

Instantly share code, notes, and snippets.

@ninmonkey
Created May 23, 2024 23:36
Show Gist options
  • Save ninmonkey/47b5f8857060cef38c55c845be9951f0 to your computer and use it in GitHub Desktop.
Save ninmonkey/47b5f8857060cef38c55c845be9951f0 to your computer and use it in GitHub Desktop.
VsCode Settings - Default using Pwsh profile settings.json
{
// settings related to pwsh terminal
"powershell.enableProfileLoading": true,
"terminal.integrated.defaultProfile.windows": "Pwsh🐒", // "Pwsh🐒",
// The terminal profile to use for automation-related terminal usage like tasks and debug. This setting will currently be ignored if `terminal.integrated.automationShell.windows` (now deprecated) is set.
"terminal.integrated.automationProfile.windows": {
"args": [
"-NoLogo"
],
"color": "terminal.ansiMagenta",
"path": "pwsh.exe",
"icon": "browser"
},
// I used a monkey in my profile names to make it obvious that it's overriding the default one
"terminal.integrated.profiles.windows": {
// [Read more about configuring profiles](https://code.visualstudio.com/docs/terminal/profiles).
"Pwsh🐒 -Nop": {
"color": "terminal.ansiGreen",
"overrideName": true,
"path": [
"pwsh.exe",
"C:/Program Files/PowerShell/7/pwsh.exe"
],
"args": [
"-NoProfile",
"-NoLogo"
],
"icon": "terminal-powershell"
},
"Pwsh🐒": {
"color": "terminal.ansiYellow",
"overrideName": true,
"path": [
"pwsh.exe",
"C:/Program Files/PowerShell/7/pwsh.exe"
],
"args": [
"-NoLogo"
],
"icon": "terminal-powershell"
},
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [],
"icon": "terminal-cmd"
},
},
"terminal.integrated.profiles.windows": {
"Git Bash": {
"source": "Git Bash"
}
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment