From 59267c4c4dd5ac1d2acc163f898279ce2bfb1e8a Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 20 Sep 2023 14:25:48 -0700 Subject: [PATCH] termio/exec: remove GHOSTTY_MAC_APP on Mac --- src/termio/Exec.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/termio/Exec.zig b/src/termio/Exec.zig index 06911050a..739ae3702 100644 --- a/src/termio/Exec.zig +++ b/src/termio/Exec.zig @@ -695,6 +695,9 @@ const Subprocess = struct { env.remove("SECURITYSESSIONID"); env.remove("XPC_SERVICE_NAME"); } + + // Remove this so that running `ghostty` within Ghostty works. + env.remove("GHOSTTY_MAC_APP"); } // If we're NOT in a flatpak (usually!), then we just exec the