summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/src')
-rw-r--r--alacritty_terminal/src/tty/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/alacritty_terminal/src/tty/mod.rs b/alacritty_terminal/src/tty/mod.rs
index c0ac7a31..16ae96ce 100644
--- a/alacritty_terminal/src/tty/mod.rs
+++ b/alacritty_terminal/src/tty/mod.rs
@@ -89,6 +89,9 @@ pub fn setup_env(config: &Config) {
// Advertise 24-bit color support
env::set_var("COLORTERM", "truecolor");
+ // Prevent child processes from inheriting startup notification env
+ env::remove_var("DESKTOP_STARTUP_ID");
+
// Set env vars from config
for (key, value) in config.env.iter() {
env::set_var(key, value);