diff options
author | JSDurand <mmemmew@gmail.com> | 2023-06-03 21:23:26 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2023-06-03 21:23:26 +0800 |
commit | 89a2d18e840e00ffaa949ed9401d41251ac45e31 (patch) | |
tree | df410be07031b6866d113b064a5f7cdb5badc322 | |
parent | d888686eee635d87a45cb50bae4c115a92afd147 (diff) |
dired: add -v to the listing switches
* dired-conf.el (dired-listing-switches): Add '-v' here. It has the
effect of sorting the file names by treating the numbers as version
numbers, so that "10" is sorted after "2", as an example.
-rw-r--r-- | dired-conf.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dired-conf.el b/dired-conf.el index 859875b..d801eb2 100644 --- a/dired-conf.el +++ b/dired-conf.el @@ -35,7 +35,7 @@ (set 'insert-directory-program "gls") (set 'dired-listing-switches - "-alh --dired --group-directories-first --time-style=long-iso") + "-halv --dired --group-directories-first --time-style=long-iso") (setq dired-dwim-target t) |