Variable: dired-listing-switches
dired-listing-switches is a customizable variable defined in
dired.el.gz.
Value
"-al"
Documentation
Switches passed to ls for Dired. MUST contain the l option.
May contain all other options that don't contradict -l;
may contain even F, b, i and s. See also the variable
dired-ls-F-marks-symlinks concerning the F switch.
If you have files with names with embedded newline characters, adding
b to the switches will allow Dired to handle those files better.
Options that include embedded whitespace must be quoted
like this: "--option=value with spaces"; you can use
combine-and-quote-strings to produce the correct quoting of
each option.
On systems such as MS-DOS and MS-Windows, which use ls emulation in Lisp,
some of the ls switches are not supported; see the doc string of
insert-directory in ls-lisp.el for more details.
Probably introduced at or before Emacs version 16.
Source Code
;; Defined in /usr/src/emacs/lisp/dired.el.gz
;;;###autoload
(defcustom dired-listing-switches (purecopy "-al")
"Switches passed to `ls' for Dired. MUST contain the `l' option.
May contain all other options that don't contradict `-l';
may contain even `F', `b', `i' and `s'. See also the variable
`dired-ls-F-marks-symlinks' concerning the `F' switch.
If you have files with names with embedded newline characters, adding
`b' to the switches will allow Dired to handle those files better.
Options that include embedded whitespace must be quoted
like this: \"--option=value with spaces\"; you can use
`combine-and-quote-strings' to produce the correct quoting of
each option.
On systems such as MS-DOS and MS-Windows, which use `ls' emulation in Lisp,
some of the `ls' switches are not supported; see the doc string of
`insert-directory' in `ls-lisp.el' for more details."
:type 'string
:group 'dired)