Fix 'find-ls-option-default-ls' for BSD/MacOS (bug#62096)
* lisp/find-dired.el (find-ls-option-default-ls): Adapt to a value that works with the default "find" on *BSD and Darwin/MacOS. Tested on OpenBSD and MacOS. Do not merge to master.
This commit is contained in:
parent
ea87c54f35
commit
f0b4ebbaf6
1 changed files with 3 additions and 1 deletions
|
@ -51,7 +51,9 @@ than the latter."
|
|||
:type 'string)
|
||||
|
||||
(defvar find-ls-option-default-ls
|
||||
(cons "-ls" (if (eq system-type 'berkeley-unix) "-gilsb" "-dilsb")))
|
||||
(cons "-ls" (if (memq system-type '(berkeley-unix darwin))
|
||||
"-dgils"
|
||||
"-dilsb")))
|
||||
|
||||
(defvar find-ls-option-default-exec
|
||||
(cons (format "-exec ls -ld {} %s" find-exec-terminator) "-ld"))
|
||||
|
|
Loading…
Add table
Reference in a new issue