Is there a /usr/share/file/magic file around somewhere that will identify Elixir files correctly?

Just noticed that the “file” command on Macos reports elixir files as:
larry@habu lib % file json_api.ex
json_api.ex: Ruby script text, ASCII text

because there is no elixir file in /usr/share/file/magic. There is an erlang one, but it only identifies BEAM files. Source files are just shown as “ASCII text”.

Is there a /usr/share/file/magic file around somewhere that will identify elixir files correctly?

  • Larry

Notice that elixir is present here: data/freedesktop.org.xml.in · master · xdg / shared-mime-info but installing shared-mime-info via homebrew didn’t help in my quick testing…