mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-17 18:09:59 +00:00
Merge pull request #795 from baflo/master
Adds powershell profile for cmder
This commit is contained in:
commit
7dc59bd5a8
@ -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')}'''`
|
||||
]
|
||||
},
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user