andreafrancia / trash-cli

Command line interface to the freedesktop.org trashcan.
GNU General Public License v2.0
3.63k stars 177 forks source link

zsh tab-completion of `trash-put` is broken #280

Closed QuarticCat closed 1 year ago

QuarticCat commented 1 year ago

Describe the bug

When typing trash-put -<TAB>, the completion works. However, when typing trash-put <TAB> or trash-put ./<TAB>, I expect it to complete paths but it doesn't.

trash-cli version

0.22.10.20

Are you using the latest version of trash-cli?

Yes

Operating system:

ihasdapie commented 1 year ago

Same issue. Also on 0.22.10.20 and Arch.

farfalleflickan commented 1 year ago

Exact same, also on Arch.

LGFae commented 1 year ago

The issue I am having is similar, but not identical. trash-put <TAB> works once, for one file, and then it stops working. So it will only autocomplete for one item.

Also on arch, trash-put version 0.22.10.20

cype-dev commented 1 year ago

Installing trash-cli-git from the AUR fixed the problem for me.

haselwarter commented 1 year ago

Bump. Sounds like it's time for a new release.

bd-g commented 1 year ago

@andreafrancia Could you publish a new tag so package distribution can move to a working version?

andreafrancia commented 1 year ago

@bd-g Here https://github.com/andreafrancia/trash-cli/releases/tag/0.23.2.13.2

yuannan commented 1 year ago

@bd-g Here https://github.com/andreafrancia/trash-cli/releases/tag/0.23.2.13.2

It's now fixed for me on :

Zsh: zsh 5.9 (x86_64-pc-linux-gnu) OMZ: master (69b5737)

Thanks!

bd-g commented 1 year ago

@QuarticCat this is fixed for me as well, could probably close this issue?

eriteric commented 1 year ago

I am finally running trash-cli 0.23.2.13.2 from doing normal arch updates, and tab-completion freezes the terminal now. Any ideas? I've restarted and made sure the completions are there in /usr/share/zsh/site-functions/

trash-cli 0.23.2.13.2 zsh 5.9

eriteric commented 1 year ago

works ok now - not sure why The freezing was possibly due to a network mounted drive which wasn't present anymore, as I see that in many other issue threads.