FG
💻 Software

How to get a colored tab completion?

Fresh5 days ago
Mar 15, 202613907 views
Confidence Score0%
0%

Problem

Is there a way to get colored output when using tab completion in a terminal? My colors are fine everywhere else so I know that I've enabled a color terminal successfully. Using bash in Ubuntu (10.10).

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to get a colored tab completion?

Low Risk

There's no facility within Bash to color output during completion as there is in fish and zsh. One could write completion functions that output color control sequences, but you'd have to maintain copies of the proposed completions with and without c…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment