mirror of
https://github.com/Eugeny/tabby
synced 2024-12-13 23:02:41 +00:00
Start shell as login shell (fixes #2)
This commit is contained in:
parent
bf8bb7ee80
commit
60b02b17e4
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ export class ScreenPersistenceProvider extends SessionPersistenceProvider {
|
|||
altscreen on
|
||||
`, 'utf-8')
|
||||
let recoveryId = `term-tab-${Date.now()}`
|
||||
let args = ['-d', '-m', '-c', configPath, '-U', '-S', recoveryId, '-T', 'xterm-256color', '--', options.command].concat(options.args || [])
|
||||
let args = ['-d', '-m', '-c', configPath, '-U', '-S', recoveryId, '-T', 'xterm-256color', '--', '-' + options.command].concat(options.args || [])
|
||||
this.logger.debug('Spawning screen with', args.join(' '))
|
||||
await spawn('screen', args, {
|
||||
cwd: options.cwd,
|
||||
|
|
Loading…
Reference in a new issue