rockdaboot / wget2

The successor of GNU Wget. Contributions preferred at https://gitlab.com/gnuwget/wget2. But accepted here as well 😍
GNU Lesser General Public License v3.0
543 stars 74 forks source link

Missing wget2 bash autocomplete file #341

Open FilipeBento opened 1 week ago

FilipeBento commented 1 week ago

I have just compiled and installed wget2 on Ubuntu WSL2. I am missing a wget2 auto-complete file, so I am unable to write

user@ubuntu$ wget2 --<TAB> and check all the available flags. I know I can check the man page, but having an autocomplete file would be a great quality-of-life improvement. I don't have enough knowledge to build one.

My apologies if I missed something in the process.

(... and thank you for all your work!)

rockdaboot commented 1 week ago

Ideally, open an issue for the Ubuntu/Debian package. They have auto-completion for wget 1.x, so it shouldn't be a big thing.

FilipeBento commented 1 week ago

Thank you for your answer. I will. However, if I understand correctly, the ubuntu package (in apt) seems to have a much older version, 1.99.1. If they generate the auto-completion for that version, maybe they will miss all the changes to the flags between that version and the latest one, 2.1.0.

rockdaboot commented 1 week ago

Hm, it possibly doesn't make much sense for the old version. But let the packagers decide.