Plugin requires bash process substitution

Eko’s recent buffers plugin uses process substitution

However, this doesn’t work for me since my Kakoune runs POSIX shell.

I’m not sure how to get Kakoune to run bash, not sure if I should even do this.

1 Like

Getting Kakoune to run bash instead of a pure POSIX shell is easy: just set the $KAKOUNE_POSIX_SHELL shell variable to any shell you like before starting Kakoune.

A more permanent solution would be to fix the plugin to not use bash’s process substitution feature, and either write the data to temporary files, set up temporary FIFOs (which is what bash actually does) or re-implement the plugin in a different way.

Even if you’re not confident about making the change yourself, you could file an issue on the GitHub repository. I know I always get excited when somebody files an issue against one of my plugins; even if it’s not easy to fix, it’s encouraging to hear that other people are using my code.

2 Likes

$KAKOUNE_POSIX_SHELL

Thanks

Even if you’re not confident about making the change yourself

I’ll have a go as a learning exercise, thanks

3 Likes

Hi!, I just merged your pull request, thanks for your contribution, hope you are finding it as useful as I do :smiley:

1 Like

Yes, you really need more than just ga

1 Like