diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-23 20:20:17 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-23 20:20:17 -0500 |
| commit | ecbba038835c1eeb4784f4894d388bf9356fa10b (patch) | |
| tree | bb6945d3e52a332f364585541a04211a6e8045c7 /tests/test-custom-datetime-all-methods.el | |
| parent | 34181c70d37cc5bf44050fc42c7495258be0ce7a (diff) | |
| download | dotemacs-ecbba038835c1eeb4784f4894d388bf9356fa10b.tar.gz dotemacs-ecbba038835c1eeb4784f4894d388bf9356fa10b.zip | |
fix(dwim-shell): make destructive file-op commands match their names
Two commands did less, or more, than their names implied.
remove-empty-directories ran find . -type d -empty -delete from whatever the current directory happened to be, so its scope was implicit and easy to misjudge. It now prompts for a root, names that root in the confirmation, and runs find against the shell-quoted root via cj/dwim-shell--empty-dirs-command.
secure-delete ran shred without -u, so it overwrote a file's contents but left the file in place, not the deletion the name and the "permanently destroy" prompt promise. Added -u so it unlinks after overwriting.
Diffstat (limited to 'tests/test-custom-datetime-all-methods.el')
0 files changed, 0 insertions, 0 deletions
