kakounedotcom / connect.kak

Connect a program to Kakoune clients

Home Page:https://kakoune.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

macOS does not have a `realpath` shell command by default

whereswaldon opened this issue · comments

I'm not sure what your preferred way to handle this would be, but the default userspace tools for macOS don't have realpath. It seems to me that there are a few easy ways forward:

  • Note that you need it in the README (brew install coreutils).
  • Define a fallback bash function that does the same thing within connect.kak.
  • Refactor to not use realpath in the script.
  • State that macOS us unsupported (maybe a bit extreme)

I'd be happy to take care of this myself if anyone has a preference as to which of the above is the right way to handle this.

@whereswaldon Sorry for the late answer. 😕