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 support for mksh #115

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add support for mksh #115

wants to merge 1 commit into from

Conversation

fallwith
Copy link

frum init produces an error about not being able to infer the shell
when ran under mksh.

From looking at frum's source and documentation, the __frumcd
shell function and the eval and frum init commands for bash all
seem like they will work just fine with mksh. I added mksh alongside
bash and sh and rebuilt frum and everything is working well for me.

I do not currently have access to other ksh derivatives to test with,
and I am not sure of the current state of ksh derivative support in the
"shell" crate. But this simple change has me up and running and enjoying
frum.

changelog: Add support for mksh by leveraging the existing bash/sh shell functionality

`frum init` produces an error about not being able to infer the shell
when ran under mksh.

From looking at frum's source and documentation, the `__frumcd`
shell function and the `eval` and `frum init` commands for bash all
seem like they will work just fine with mksh. I added mksh alongside
bash and sh and rebuilt frum and everything is working well for me.

I do not currently have access to other ksh derivatives to test with,
and I am not sure of the current state of ksh derivative support in the
"shell" crate. But this simple change has me up and running and enjoying
frum.
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.

1 participant