1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2025-05-19 18:23:13 -04:00
alacritty/alacritty_terminal
Mikayla Maki 03c2907b44
Hide macOS login message with ~/.hushlogin present
On macOS every shell is a login shell, which will always print
information about the last login when the terminal is started. The macOS
standard for disabling this is to place a `.hushlogin` file in the
user's home directory, but this did not work with Alacritty since
`login` only looks for this file in the current directory.

To ensure the login message is properly suppressed, Alacritty's default
shell will now check for the presence of the `.hushlogin` file in the
user's home directory and append `-q` to the `login` arguments if it is
present, which will behave as if a `.hushlogin` file was found by
`login`.

Co-authored-by: Thomas <thomas@zed.dev>
Co-authored-by: Anthony <anthony@zed.dev>
2025-02-20 02:12:29 +00:00
..
src Hide macOS login message with ~/.hushlogin present 2025-02-20 02:12:29 +00:00
tests Bump VTE to 0.14.0 2025-01-09 10:02:20 +00:00
Cargo.toml Add latest release to changelog 2025-02-17 14:27:54 +00:00
CHANGELOG.md Hide macOS login message with ~/.hushlogin present 2025-02-20 02:12:29 +00:00
LICENSE-APACHE Add license symlinks for crates 2020-10-17 14:47:51 +00:00