diff options
Diffstat (limited to 'src/detached')
| -rw-r--r-- | src/detached/server.zig | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/detached/server.zig b/src/detached/server.zig index 2c4df87b..bc293dce 100644 --- a/src/detached/server.zig +++ b/src/detached/server.zig @@ -2013,7 +2013,14 @@ pub fn run(init: std.process.Init, opts: pardes.Options, name: []const u8) !void // Staged before the first fork and owned by the Session for exactly as // long as it can fork: `shell_bin.resolve` hands a child pointers into // these buffers, and the child holds them until it execs. - .prompt_rcs = .init(), + // + // `prepareForFork` and not `PromptRcs.init` alone: this host forks bash + // through the same `resolve` its siblings do and was the one that never + // silenced Apple's zsh-migration banner, so every pane in a detached + // session on macOS opened with it printed across the top. It also had + // no `adoptSystemPath`, which a daemon needs more than anyone — it is + // the host most likely to be started by launchd. + .prompt_rcs = shell_bin.prepareForFork(), }; defer session.deinit(); if (!session.listen(name)) { |
