SkillAgentSearch skills...

Trish

A fish shell plugin to manage the Trash folder 🐟

Install / Use

/learn @victante/Trish
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<img src="https://cdn.rawgit.com/oh-my-fish/oh-my-fish/e4f1c2e0219a17e2c748b824004c8d0b38055c16/docs/logo.svg" align="left" width="144px" height="144px"/>

trish

A plugin for Oh My Fish.

MIT License Fish Shell Version Oh My Fish Framework

<br/>

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

View on GitHub
GitHub Stars19
CategoryDevelopment
Updated1y ago
Forks2

Languages

Shell

Security Score

80/100

Audited on Jan 25, 2025

No findings