You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ls on macOS does not support long-format options(such as --dired), as a result, the Diredconfiguration causes an error message like this:
Listing directory failed but 'access files' worked
Delete --group-directories-first argument can help get rid of this error, but a GNU-based ls which is exposed as gls by the coreutils formula can solve this problem. Here's my solution to this:
ls
on macOS does not support long-format options(such as--dired
), as a result, theDired
configuration causes an error message like this:Delete
--group-directories-first
argument can help get rid of this error, but a GNU-basedls
which is exposed asgls
by thecoreutils
formula can solve this problem. Here's my solution to this:homebrew
brew install coreutils
to installgls
Dired
configuration:Note that GUI applications and applications launched via shell see different environment variables on macOS, so
executable -find
function may not be able to findgls
if you start Emacs by clicking the app icon or from spotlight. Thankfully a package calledexec-path-from-shell
can help. Here is the GitHub homepage for this package:https://github.com/purcell/exec-path-from-shell
More info:
https://stackoverflow.com/questions/8606954/path-and-exec-path-set-but-emacs-does-not-find-executable
The text was updated successfully, but these errors were encountered: