Skip to content
/ trish Public

A fish shell plugin to manage the Trash folder 🐟

License

Notifications You must be signed in to change notification settings

victante/trish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

trish

A plugin for Oh My Fish.

MIT License Fish Shell Version Oh My Fish Framework


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

About

A fish shell plugin to manage the Trash folder 🐟

Topics

Resources

License

Stars

Watchers

Forks

Languages