Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename executable to trashy (#104) #106

Merged

Conversation

stelcodes
Copy link
Contributor

@stelcodes stelcodes commented Oct 23, 2023

Since trashy no longer supports trash <PATH> ... and has given up on being a drop-in trash-cli replacement, the executable name trash is only a hinderance to greater adoption because it conflicts with the trash-cli executable of the same name. Giving the executable a unique name allows both programs to be installed without issue and also allows programs that wish to shell out to external commands for trashing files to support trashy by simply checking if an executable named trashy is present. Before this change, these programs had to check the output of the user's trash command to determine if it was from trash-cli or trashy.

Fixes #104

Since trashy no longer supports `trash <PATH> ...` and has given up on
being a drop-in trash-cli replacement, the executable name `trash` is
only a hinderance to greater adoption because it conflicts with the
trash-cli executable of the same name. Giving the executable a unique
name allows both programs to be installed without issue and also allows
programs that wish to shell out to external commands for trashing files
to support trashy by simply checking if an executable named `trashy` is
present. Before this change, these programs had to check the output of
the user's `trash` command to determine if it was from trash-cli or
trashy.
@stelcodes stelcodes mentioned this pull request Oct 24, 2023
2 tasks
@oberblastmeister oberblastmeister merged commit 8621895 into oberblastmeister:master Oct 25, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should executable be renamed to trashy?
2 participants