Skip to content

Conversation

jif-oai
Copy link
Contributor

@jif-oai jif-oai commented Sep 4, 2025

  • Update the shell detection of UNIX systems
  • Add support for bash shells
  • Add support for zsh on UNIX system

Globally, reduce the specificity of MacOS code by considering it as a UNIX system for shell detection

}
_ => Shell::Unknown,
}
Shell::Unknown
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we should default to /bin/sh on UNIX? That is required to be defined as per POSIX, I think? (Though it could point to anything...)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the record: No because POSIX does not guarantee -l to be defined on /bin/sh

@jif-oai jif-oai merged commit ba631e7 into main Sep 5, 2025
18 checks passed
@jif-oai jif-oai deleted the jif/zsh-unix branch September 5, 2025 16:51
@github-actions github-actions bot locked and limited conversation to collaborators Sep 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants