added powershell core as a separate shell (#123)

This commit is contained in:
Eugene Pankov 2018-03-11 19:53:13 +01:00
parent e9f22dd8b5
commit 3b43b3914b
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -36,12 +36,20 @@ export class WindowsStockShellsProvider extends ShellProvider {
{ id: 'cmd', name: 'CMD (stock)', command: 'cmd.exe' }, { id: 'cmd', name: 'CMD (stock)', command: 'cmd.exe' },
{ {
id: 'powershell', id: 'powershell',
name: 'PowerShell', name: 'Windows PowerShell',
command: 'powershell.exe', command: 'powershell.exe',
env: { env: {
TERM: 'cygwin', TERM: 'cygwin',
} }
}, },
{
id: 'powershell-core',
name: 'PowerShell Core',
command: 'pwsh.exe',
env: {
TERM: 'cygwin',
}
},
] ]
} }
} }