Closed mattmc3 closed 6 months ago
Overall aligned with the idea. Let me review it later this week.
Let's roll with trash
helper for now. We do have cli conflicts with a few aliases anyway (and there are ways to unfunction
and unalias
them by end users).
Proposed Changes
There's a bunch of outdated or overcomplicated/unmaintained cli trash utilities for macOS. This very simple and useful Zsh
trash
function uses oascript to put files in the trash.Conflicts
If a user has already installed one of the many (unmaintained?) trash apps from homebrew, having a Zsh trash function would override them. If that's a concern the Prezto maintainers have, this function could be renamed.
They are: