summaryrefslogtreecommitdiff
path: root/dired-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-06-03 21:23:26 +0800
committerJSDurand <mmemmew@gmail.com>2023-06-03 21:23:26 +0800
commit89a2d18e840e00ffaa949ed9401d41251ac45e31 (patch)
treedf410be07031b6866d113b064a5f7cdb5badc322 /dired-conf.el
parentd888686eee635d87a45cb50bae4c115a92afd147 (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.
Diffstat (limited to 'dired-conf.el')
-rw-r--r--dired-conf.el2
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)