1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00

Ignore shell RCs for macOS zsh wrapper

Closes #7886.
This commit is contained in:
Nathan Lilienthal 2024-05-15 18:38:13 -04:00 committed by GitHub
parent 3a7f21b00c
commit 3cd35dfe7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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
}