WikiJS/home/linux/fix-mint-autocomplete.md
2025-06-05 13:04:03 +00:00

666 B

title description published date tags editor dateCreated
Fix Linux Mint Autocomplete Autocomplete doesn't work by default true 2025-02-16T20:40:50.805Z markdown 2025-02-16T20:40:49.190Z

Fix Linux Mint Autocomplete

  1. Rename apt to apt-mint in /usr/local/bin/
  2. Rename apt-linux-mint to apt-mint in /etc/bash_completion.d/
  3. Edit /etc/bash_completion.d/apt-mint replacing "apt" with "apt-mint" so it looks like this:

At the top (lines 5 and 6, most likely): have apt-mint && _apt-mint() At the end: complete -F _apt-mint apt-mint

Credit: https://forums.linuxmint.com/viewtopic.php?p=2276518&sid=3b36b9fa5693b543ed571cf304275c30#p2276518