fn unix_candidates(
login: Option<PathBuf>,
etc_shells: &str,
is_file: &dyn Fn(&Path) -> bool,
) -> Vec<Candidate>Expand description
macOS and Linux candidates: the login shell, then /etc/shells, then
Homebrew’s shells that /etc/shells doesn’t list.