diff options
author | Mattbazooka <mattbazooka@gmail.com> | 2020-07-14 19:03:36 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 09:03:36 +0000 |
commit | 76a4c373da48a4477c07b844442e5599fbd37ada (patch) | |
tree | 5af50d7a034c3c030a1a2c19e81e21bcd66c43d1 /scripts | |
parent | 68209e88fd8c8b092785aaadfaea8ef7d4a4e2cf (diff) | |
download | alacritty-76a4c373da48a4477c07b844442e5599fbd37ada.tar.gz alacritty-76a4c373da48a4477c07b844442e5599fbd37ada.zip |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions