Skip to content

dired unusable "no file on this line" #394

Answered by Inc0n
Inc0n asked this question in Q&A
Discussion options

You must be logged in to vote

I just found out in https://emacsredux.com/blog/2015/05/09/emacs-on-os-x/

OS X ships with BSD’s ls command which doesn’t have all the features of GNU ls (used internally by dired). Fortunately, this is easily solvable:

$ brew install coreutils

To avoid conflicts the GNU utils are prefixed with g, so ls becomes gls.

(setq insert-directory-program (executable-find "gls"))

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@d12frosted
Comment options

Answer selected by Inc0n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants