help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: An ls that does not understand --dired


From: Tassilo Horn
Subject: Re: An ls that does not understand --dired
Date: Mon, 23 Jul 2012 09:00:46 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

Ellen Taylor < ellen@nospam.invalid > writes:

Hi!

>> /bin/ls in Mac OS X 10.6.8 (and maybe more releases) does not
>> understand "--dired", only "-dired". Is there a way to make dired use
>> "-dired" instead of "--dired"? (Besides using gls from GNU
>> Coreutils.)

The use of "--dired" is hard-coded in `dired-insert-directory'.

> You need to set 'dired-listing-switches'.

Dired checks if ls supports --dired.  In Peter's case, it'll determine
that it's not supported.  So adding "-dired" to `dired-listing-switches'
should in fact do the job.

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]