diff options
| author | Mikayla Maki <mikayla.c.maki@gmail.com> | 2025-02-19 18:12:29 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-20 02:12:29 +0000 |
| commit | 03c2907b44b4189aac5fdeaea331f5aab5c7072e (patch) | |
| tree | 918fcfee7254d65025a8673ffd121a5acc88610f /src | |
| parent | be911fead8b568797862ebfd41bbad32b46d42bf (diff) | |
| download | r-alacritty-03c2907b44b4189aac5fdeaea331f5aab5c7072e.tar.gz r-alacritty-03c2907b44b4189aac5fdeaea331f5aab5c7072e.tar.bz2 r-alacritty-03c2907b44b4189aac5fdeaea331f5aab5c7072e.zip | |
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>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions