Change VS Code external terminal to Windows Terminal with git-bash as default.


Vathanak

Well-known member
Local time
5:07 PM
Posts
24
OS
Windows 11
I try to add this to VS Code setting.json, but it didn't work

Code:
"terminal.external.windowsExec": "%LOCALAPPDATA%\\Microsoft\\WindowsApps\\wt.exe -p git-bash",

Tried cmd and still didn't work.

Code:
"terminal.external.windowsExec": "%LOCALAPPDATA%\\Microsoft\\WindowsApps\\wt.exe -p cmd",
 
Windows Build/Version
Windows 11 version 22H2 (0S Build 22621.1194)

Attachments

  • cmd_gH8zXh8t4w.png
    cmd_gH8zXh8t4w.png
    5.6 KB · Views: 1

My Computer My Computer

At a glance

Windows 11i7-10750h16GBRTX2060
OS
Windows 11
Computer type
Laptop
Manufacturer/Model
MSI GS66
CPU
i7-10750h
Motherboard
H470
Memory
16GB
Graphics Card(s)
RTX2060
I know I can change default shell here, but I want different shell launching from vscode.WindowsTerminal_BR61rdWyrL.png
 

My Computer My Computer

At a glance

Windows 11i7-10750h16GBRTX2060
OS
Windows 11
Computer type
Laptop
Manufacturer/Model
MSI GS66
CPU
i7-10750h
Motherboard
H470
Memory
16GB
Graphics Card(s)
RTX2060
Back
Top Bottom