scop / bash-completion

Programmable completion functions for bash
GNU General Public License v2.0
2.9k stars 380 forks source link

tar: Complete adding files to archive with long options #1195

Closed yedayak closed 1 month ago

yedayak commented 4 months ago

Fixes: https://github.com/scop/bash-completion/issues/98

yedayak commented 4 months ago

Thanks for the fixes! I see FIXME comments, but are you going to work on these within this PR?

I was thinking to create a separate PR for those, since they will require some more refactoring, and those FIXMEs are broken even before this PR. If you want I can try doing it in this PR

yedayak commented 4 months ago

Added a commit that removes the FIXMEs by keeping track of compression long options

yedayak commented 3 months ago

Rebased, removed a useless assignment of tar_mode, and improved the tar_mode comment

yedayak commented 1 month ago

Is there something left to do here?