reitzig / sdkman-for-fish

Adds support for SDKMAN! to fish
MIT License
280 stars 13 forks source link

Error on MacOS 10.14.6 stat illegal option -c #30

Closed nbu closed 4 years ago

nbu commented 4 years ago

https://github.com/reitzig/sdkman-for-fish/blob/d811a8ddc2dde1cd2518c924430a272c37909bc7/conf.d/sdk.fish#L80

On MacOS 10.14.6 this command must be used:

stat -f "%u"
reitzig commented 4 years ago

Well that sucks for macOS, doesn't it? ;P

In seriousness: as discussed here, another fix has been implemented on branch macos-compat. There's some work left to do for #29 before I can merge that one into master, but I think you can install the branch through fisher.