25 lines
666 B
Markdown
25 lines
666 B
Markdown
---
|
|
title: Fix Linux Mint Autocomplete
|
|
description: Autocomplete doesn't work by default
|
|
published: true
|
|
date: 2025-06-06T12:27:37.651Z
|
|
tags:
|
|
editor: markdown
|
|
dateCreated: 2025-06-06T12:27:36.094Z
|
|
---
|
|
|
|
# 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
|