Trish
A fish shell plugin to manage the Trash folder 🐟
Install / Use
/learn @victante/TrishREADME
trish
<br/>A plugin for Oh My Fish.
Install
OMF
$ omf install https://github.com/victante/trish
If/when OMF maintainers approve this package on their repo, it will be easier to install:
$ omf install trish
Fisher
$ fisher install victante/trish
Fundle
Insert fundle plugin 'victante/trish' in your config.fish, before the fundle init line. Reload the shell and then run:
$ fundle install
Manual installation
$ git clone https://github.com/victante/trish
$ mv trish/functions/* ~/.config/fish/functions
Usage
$ trish ITEMS # send ITEMS to the trash
$ trishl # list what's in the trash
$ trishl [-p INT/--peek INT/-INT] # list the contents of the deleted folder of index INT
$ trishc # enter interactive mode for cleaning the trash
$ trishc [-a/--all] # clean the entire trash folder at once
$ trishc [-o INT/--old INT/-INT] # clean all files that were in the trash for INT days or more
$ trishr # enter interactive mode for restoring items from the trash
$ trishr [-a/--all] # restore all items from the trash
All 4 functions also have a '-h/--help' flag to display a nice little help text.
The name
'Trish' is a mashup of 'trash' and 'fish'. Kinda obvious, but I'm personally very proud of it.
License
MIT © Victor Coutinho et al
Related Skills
node-connect
340.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.2kCommit, push, and open a PR
