1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-24 06:04:04 +03:00

inherit session environment (fixes #119, fixes #125, fixes #124, fixes #129)

This commit is contained in:
Eugene Pankov 2017-07-20 23:32:17 +02:00
parent 5f5772501b
commit 49b90f15bc

View File

@ -51,7 +51,7 @@ export class ButtonProvider extends ToolbarButtonProvider {
cwd = await this.app.activeTab.session.getWorkingDirectory()
}
let command = this.config.store.terminal.shell
let env: any = {}
let env: any = process.env
let args: string[] = []
if (command === '~clink~') {
({ command, args } = this.shells.getClinkOptions())