ilikenwf / apt-fast

apt-fast: A shellscript wrapper for apt that speeds up downloading of packages.
http://www.mattparnell.com/projects/apt-fast-and-axel-roughly-26x-faster-apt-get-installations-and-upgrades.html
GNU General Public License v3.0
1.96k stars 185 forks source link

Shell completions suggestion: Automatically update alias when using another package manage that is not `apt-get` #244

Closed hueychen27 closed 4 months ago

hueychen27 commented 4 months ago

I am using apt as the package manager to use for apt-fast, but the completions list was wrong. I had to go manually change the completions file to this:

#compdef apt-fast
compdef _apt apt-fast=apt

instead of apt-get for the last word after the equals sign. I think it would be a good idea to automatically update the file when using a different default package manager than apt-get.

Lasall commented 4 months ago

Thank you very much for this feature request. Can you try with the current master?

hueychen27 commented 3 months ago

Alright. Thank you for fixing this fast.