666 B
666 B
| title | description | published | date | tags | editor | dateCreated |
|---|---|---|---|---|---|---|
| Fix Linux Mint Autocomplete | Autocomplete doesn't work by default | true | 2025-06-06T12:27:37.651Z | markdown | 2025-06-06T12:27:36.094Z |
Fix Linux Mint Autocomplete
- Rename apt to apt-mint in /usr/local/bin/
- Rename apt-linux-mint to apt-mint in /etc/bash_completion.d/
- 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