diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-13 13:51:56 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-13 13:51:56 -0500 |
| commit | 6d4461fc3264d6a730d32f1f8a5b58f78769a840 (patch) | |
| tree | 65ae9d4a372594d41e1c494383bbfc5f75aacc78 /modules/dirvish-config.el | |
| parent | 0c024848f91a9ca1aad8e4a0bd651091feb3608a (diff) | |
| download | dotemacs-6d4461fc3264d6a730d32f1f8a5b58f78769a840.tar.gz dotemacs-6d4461fc3264d6a730d32f1f8a5b58f78769a840.zip | |
fix(dwim-shell): valid zip name, real backup timestamp, reachable menu key
Three audit fixes. Single-file zip named the archive after the input file (<<fne>>.<<e>>), making invalid archives and a "foo." name for directories. It now builds <fne>.zip. The dated backup single-quoted $(date ...), so the stamp sat literal in the filename. Now the timestamp is interpolated in Elisp with format-time-string. The dired menu used "M-S-d", which Meta-Shift-d never emits (it sends M-D), so the menu was unreachable in plain dired. It now binds M-D, matching the dirvish sibling. Both command strings moved to top-level builders so they're unit-testable without loading the dwim-shell-command package.
Diffstat (limited to 'modules/dirvish-config.el')
| -rw-r--r-- | modules/dirvish-config.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dirvish-config.el b/modules/dirvish-config.el index 29ba2ebac..79d6ff41c 100644 --- a/modules/dirvish-config.el +++ b/modules/dirvish-config.el @@ -27,7 +27,7 @@ ;; - p: Copy absolute file path ;; - P: Print the file at point via CUPS ;; - S: Study — start an org-drill session on the .org file at point -;; - M-S-d (Meta-Shift-d): DWIM shell commands menu +;; - M-D (Meta-Shift-d): DWIM shell commands menu ;; - TAB: Toggle subtree expansion ;; - F11: Toggle sidebar view |
