Skip to content

Commit 0555bda

Browse files
Merge branch 'investigate-status-line-change-1lvv'
2 parents 2678aad + 8e519f7 commit 0555bda

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

server/terminal/dtach-service.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,9 @@ export class DtachService {
115115
const socketPath = this.getSocketPath(terminalId)
116116
const shell = process.env.SHELL || '/bin/bash'
117117
// -n: don't attach after creating
118-
// -z: use the specified socket path
119-
return ['dtach', '-n', socketPath, '-z', shell]
118+
// -z: disable suspend key
119+
// -l: login shell (sources .profile which sources .bashrc for starship/etc)
120+
return ['dtach', '-n', socketPath, '-z', shell, '-l']
120121
}
121122

122123
// Get command to attach to an existing session

0 commit comments

Comments
 (0)