Skip to content

Commit

Permalink
Add -f to zsh to prevent running profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
nixpulvis committed May 4, 2024
1 parent 48c088a commit 119418c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alacritty_terminal/src/tty/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 119418c

Please sign in to comment.