Skip to content

Add support for mksh - #115

Open
fallwith wants to merge 1 commit into
TaKO8Ki:mainfrom
fallwith:mksh
Open

Add support for mksh#115
fallwith wants to merge 1 commit into
TaKO8Ki:mainfrom
fallwith:mksh

Conversation

@fallwith

Copy link
Copy Markdown

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