aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/tty/unix.rs
diff options
context:
space:
mode:
authorNathan Lilienthal <nathan@nixpulvis.com>2024-05-15 18:38:13 -0400
committerJosh Rahm <rahm@google.com>2024-08-14 15:42:41 -0600
commit0704735fa0f5d3a92e54ca62920c5010468dfa78 (patch)
treec88610557cc8e4ca41b76453eeea4399e96c236d /alacritty_terminal/src/tty/unix.rs
parent18a0d1df06c64329499f70649ca4f1fec26e5314 (diff)
downloadr-alacritty-0704735fa0f5d3a92e54ca62920c5010468dfa78.tar.gz
r-alacritty-0704735fa0f5d3a92e54ca62920c5010468dfa78.tar.bz2
r-alacritty-0704735fa0f5d3a92e54ca62920c5010468dfa78.zip
Ignore shell RCs for macOS zsh wrapper
Closes #7886.
Diffstat (limited to 'alacritty_terminal/src/tty/unix.rs')
-rw-r--r--alacritty_terminal/src/tty/unix.rs2
1 files changed, 1 insertions, 1 deletions
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
}