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.
pressing
<tab>
on thetrash
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 linecomplete -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 oftrash put
like suggested in https://github.com/oberblastmeister/trashy/issues/57#issuecomment-1458886458 would obviously work as well, but would be a major breaking change and the loss of a selling point.