-
Notifications
You must be signed in to change notification settings - Fork 438
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
add completion for trash-d #99
Conversation
See ${_comps[watch]} for how to deal with name clashes (two unrelated commands of the same name).
Excuse brevity.
|
thanks l will look into it ! |
i found about thanks ! |
not working for now, as the second case for author=steven is never selectioned
well, i tried, but it's not working for the second case with author=steven. can't test for the macos version. looking for help ! |
update: it's working for trash-d, but i can't test for the macos version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't test the current function or my suggestions, here's my feedback anyway
@okdana thanks for the feedback ! Would be really nice if we manage to make the completion file from the trash (for --delete, --restore) complete from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks more like how i'd expect now. A few more things, though, mostly stuff i didn't notice before about how the command works
i'll try to use grouping options, but i can't figure it out for now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more round, mostly nit-picking, but improving the exclusions on the actions
group at least would be nice. Otherwise, i tested both variants, and it seems good
I'm not sure about some modifications, sorry if there are still problems. |
Yeah i think it's good. I'll merge this in a day or two if nobody else has anything to say. Thank you |
Committed as 5ec4695. Sorry for the delay, thanks again |
https://github.com/rushsteve1/trash-d
I don't know if this is feasible since there is already
Darwin/command/_trash
for another trash command,but since this one is in
Linux/
, maybe it can work, as there shouldn't be a system where both Darwin and Linux exist.thanks !