Merge branch 'master' of github.com:Eugeny/terminus

This commit is contained in:
Eugene Pankov 2019-05-02 12:23:57 +02:00
commit c25c9a285e

View File

@ -22,7 +22,8 @@ export class CmderShellProvider extends ShellProvider {
return []
}
return [{
return [
{
id: 'cmder',
name: 'Cmder',
command: 'cmd.exe',
@ -33,6 +34,21 @@ export class CmderShellProvider extends ShellProvider {
env: {
TERM: 'cygwin',
}
}]
},
{
id: 'cmderps',
name: 'CmderPowerShell',
command: 'powershell.exe',
args: [
'-ExecutionPolicy',
'Bypass',
'-nologo',
'-noprofile',
'-noexit',
'-command',
`Invoke-Expression '. ''${path.join(process.env.CMDER_ROOT, 'vendor', 'profile.ps1')}'''`
]
},
]
}
}