Open Ash258 opened 5 years ago
I would like to be able to setup shellpath using ${env:SOMEKEY}\\executable.exe same as in tasks.json.
${env:SOMEKEY}\\executable.exe
My settings are synced across multiple devices and on one machine i have git bash in C drive and on other machine in S drive.
So instead of this:
{ "terminals.terminals": [ { "name": "Git Bash", "shellPath": "C:\\SCOOP\\apps\\git\\current\\bin\\bash.exe", "focus": true, "open": true, } }
i would need to setup it like this:
{ "terminals.terminals": [ { "name": "Git Bash", "shellPath": "${env:GIT_INSTALL_ROOT}\\bin\\bash.exe", "focus": true, "open": true, } }
PR welcome for implementing the [env:*] token 👍.
[env:*]
I would like to be able to setup shellpath using
${env:SOMEKEY}\\executable.exe
same as in tasks.json.My settings are synced across multiple devices and on one machine i have git bash in C drive and on other machine in S drive.
So instead of this:
i would need to setup it like this: