src/nnn.c | 4 ++++ diff --git a/src/nnn.c b/src/nnn.c index 8500b783f0caf75250134442dff704f519def0af..82ec9467bb08914347ffa6cbeb90964a014a6183 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -4526,7 +4526,11 @@ #ifdef FILE_MIME_OPTS ("file " FILE_MIME_OPTS), #endif "file -b", +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) + "stat -x", +#else "stat", +#endif }; size_t r = ELEMENTS(cmds);