From 0704735fa0f5d3a92e54ca62920c5010468dfa78 Mon Sep 17 00:00:00 2001 From: Nathan Lilienthal Date: Wed, 15 May 2024 18:38:13 -0400 Subject: Ignore shell RCs for macOS zsh wrapper Closes #7886. --- alacritty_terminal/src/tty/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alacritty_terminal/src') diff --git a/alacritty_terminal/src/tty/unix.rs b/alacritty_terminal/src/tty/unix.rs index 54118a58..1336fd04 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 } -- cgit