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

shell completions for fish shell don't complete for paths on trash command without put #94

Closed
m4rch3n1ng opened this issue May 1, 2023 · 2 comments

Comments

@m4rch3n1ng
Copy link

m4rch3n1ng commented May 1, 2023

pressing <tab> on the trash command only auto-completes for the commands, not the files in the directory. trash put completion works as expected.

i don't know how "clap_complete" works, but you can fix the completion by prepending the line complete -c trash -F to the automatically generated completions.

i only know about fish, but zsh still seems to be broken as of #57.

dropping trash in favor of trash put like suggested in #57 (comment) would obviously work as well, but would be a major breaking change and the loss of a selling point.

@nahoj
Copy link

nahoj commented Sep 20, 2023

I'm in favor of dropping trash <file> if it helps provide reliable completion, I wrote why here: #57 (comment).

@oberblastmeister
Copy link
Owner

Closed by #103

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

No branches or pull requests

3 participants