alacritty/alacritty_terminal/src/tty
Mattbazooka 76a4c373da
Fallback to SHELL instead of passwd if present
Instead of just always falling back to the shell specified in the passwd
file when no config or cli shell was specified, Alacritty will not first
look at the `$SHELL` environment variable. If this is unset, it will
still read the passwd file.

Since macOS is a bit peculiar and does not set the `$SHELL` environment
variable by default, it is set manually to the shell used by Alacritty
while any existing `$SHELL` variables are ignored. This matches the
behavior of iTerm and Terminal.app.

Co-authored-by: Christian Duerr <contact@christianduerr.com>
2020-07-14 09:03:36 +00:00
..
windows Remove gui dependencies from alacritty_terminal 2020-07-11 20:03:09 +03:00
mod.rs Remove copyright notice from files 2020-06-06 21:49:14 +03:00
unix.rs Fallback to SHELL instead of passwd if present 2020-07-14 09:03:36 +00:00