aluxian / fish-trash

Safe `rm $file`, equivalent to `mv $file ~/.Trash/` but using Finder, for fish 🐟 shell.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fish-trash

Safe rm $file, equivalent to mv $file ~/.Trash/ but using Finder, for fish 🐟 shell.

Install

fisher add aluxian/fish-trash

Features

  • It uses AppleScript to ask Finder to move the specified files/folders to the trash, so the "put back" feature is preserved.
  • Unlike trash in Homebrew, you don't need to use a -F flag all the time to use Finder.
  • It is compatible with and can successfully trash files from APFS volumes.

Alternatives

https://formulae.brew.sh/formula/trash

License

MIT Β© Alexandru Rosianu

About

Safe `rm $file`, equivalent to `mv $file ~/.Trash/` but using Finder, for fish 🐟 shell.


Languages

Language:Shell 100.0%