1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-09-11 13:13:59 +03:00

explicitly specify --login for POSIX shells

This commit is contained in:
Eugene Pankov 2017-10-20 21:44:34 +02:00
parent 11e0c36ebc
commit e81e5034b9
4 changed files with 9 additions and 4 deletions

View File

@ -33,7 +33,8 @@ export class LinuxDefaultShellProvider extends ShellProvider {
return [{
id: 'default',
name: 'User default',
command: line.split(':')[6]
command: line.split(':')[6],
args: ['--login'],
}]
}
}

View File

@ -20,7 +20,8 @@ export class MacOSDefaultShellProvider extends ShellProvider {
return [{
id: 'default',
name: 'User default',
command: shellEntry.split(' ')[1].trim()
command: shellEntry.split(' ')[1].trim(),
args: ['--login'],
}]
}
}

View File

@ -24,6 +24,7 @@ export class POSIXShellsProvider extends ShellProvider {
id: x,
name: x,
command: x,
args: ['--login'],
}))
}
}

View File

@ -15,8 +15,10 @@
"skipLibCheck": true,
"lib": [
"dom",
"es2015",
"es7"
"es5",
"es6",
"es7",
"es2015"
]
}
}