Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add zsh convenience function to replwrap module #751

Merged
merged 6 commits into from
Sep 29, 2023

Conversation

kislyuk
Copy link
Contributor

@kislyuk kislyuk commented Apr 1, 2023

While zsh is mostly compatible with bash, it does not have the --rcfile command line option and it does not recognize the same prompt directives. This change reuses most of the bash convenience function, but generalizes it to work with zsh.

@Red-M
Copy link
Member

Red-M commented Jul 2, 2023

Is the motivation for this to enable better Darwin support?

@kislyuk
Copy link
Contributor Author

kislyuk commented Jul 2, 2023

Not specifically - we are using pexpect in shell integration test cases, for both bash and zsh. While zsh has become more popular because of Mac OS using it as the default, there are plenty of Linux-based zsh users too.

@Red-M Red-M merged commit fd228f3 into pexpect:master Sep 29, 2023
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants