Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Staggerlee011/b83b57c9a7269b02fd7268b773b40430 to your computer and use it in GitHub Desktop.
Save Staggerlee011/b83b57c9a7269b02fd7268b773b40430 to your computer and use it in GitHub Desktop.
Code to configure Visual Studio Code for PowerShell as the integrated terminal
// File -> Preferences -> Settings : Settungs.json
// Update to the below code (Starting line 4, added alternates that may come in useful at other times, at present you cant choose which to load :(
{
// 64-bit PowerShell if available, otherwise 32-bit
"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\WindowsPowerShell\\v1.0\\powershell.exe",
// Git Bash
//"terminal.integrated.shell.windows3": "C:\\Program Files\\Git\\bin\\bash.exe",
// 64-bit cmd if available, otherwise 32-bit
//"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\cmd.exe"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment