by ComputerGuru · 2y ago · 0 comments
Fish actually doesn’t write to (or directly use?) $SHELL at all, as it doesn’t consider it part of the shell’s contract to do so. At least if I’m not misremembering.
See:
https://man.archlinux.org/man/login.1
> The environment variable values for $HOME, $USER, $SHELL, $PATH, $LOGNAME, and $MAIL are set according to the appropriate fields in the password entry.
$SHELL remains "/bin/bash".