alx741 / vinfo

Vim info documentation reader, lets you read info pages within Vim or start it from the shell prompt (instead of Info)
57 stars 5 forks source link

Breaks on macOS/BSD: non-portable split options #5

Open ches opened 5 years ago

ches commented 5 years ago

Hi, thanks for this plugin.

Unfortunately as the title says, it breaks on macOS/BSD because of the usage of split:

https://github.com/alx741/vinfo/blob/3471cd547b591dcbcaf524a06c1f3423d8650b5d/autoload/vinfo/repo.vim#L35

The -d and --additional-suffix flags are GNU-specific, they're not POSIX and not in BSD split.

alx741 commented 5 years ago

Hi, Because info is primarily a GNU/Linux thing I didn't bother to make it compatible with other systems, lately I've bee using FreeBSD and MacOS though so I will fix this. Thanks for letting me know

seagoj commented 3 days ago

Do we think requiring coreutils for macos is a solution to this? It can be installed via brew:

brew install coreutils

If so, I can make a PR.

seagoj commented 3 days ago

That's the PR for MacOS. It's pretty naive and doesn't really address BSD