From 119418cd0df1151ae91d6580b1a6b0f422f29b7b Mon Sep 17 00:00:00 2001 From: Nathan Lilienthal Date: Sat, 4 May 2024 12:43:08 -0400 Subject: [PATCH 1/2] Add -f to zsh to prevent running profiles --- alacritty_terminal/src/tty/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alacritty_terminal/src/tty/unix.rs b/alacritty_terminal/src/tty/unix.rs index 54118a58c0..1336fd0436 100644 --- a/alacritty_terminal/src/tty/unix.rs +++ b/alacritty_terminal/src/tty/unix.rs @@ -177,7 +177,7 @@ fn default_shell_command(shell: &str, user: &str) -> Command { // -p: Preserves the environment. // // XXX: we use zsh here over sh due to `exec -a`. - login_command.args(["-flp", user, "/bin/zsh", "-c", &exec]); + login_command.args(["-flp", user, "/bin/zsh", "-fc", &exec]); login_command } From 57dde50990ad2d0987423f9010ed71a5e775f691 Mon Sep 17 00:00:00 2001 From: Nathan Lilienthal Date: Tue, 14 May 2024 10:05:22 -0400 Subject: [PATCH 2/2] Add changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ae7ffb888..a30d61966f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ Notable changes to the `alacritty_terminal` crate are documented in its - Pressing `Alt` with unicode input will now add `ESC` like for ASCII input - Decorations use opaque style and system window background on macOS +- No longer source `~/.zshenv` on macOS ### Fixed