From ca9c7949f153be6ff3c3eef2fc2669688870010e Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 21 Jun 2020 13:41:39 +1200 Subject: Add a few completion color settings --- readline/inputrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/readline/inputrc b/readline/inputrc index 381c4e7a..3ac134cd 100644 --- a/readline/inputrc +++ b/readline/inputrc @@ -8,6 +8,9 @@ set bell-style none # Let readline do stuff like word killing, not stty(1) set bind-tty-special-chars off +# Color files by type in the same way as `ls` +set colored-stats on + # Ignore case when matching and completing paths set completion-ignore-case on @@ -17,6 +20,10 @@ set completion-map-case on # Show me up to 5,000 completion items, don't be shy set completion-query-items 5000 +# When completing, put the matched completion prefix in a different color +set colored-completion-prefix on +set menu-complete-display-prefix on + # Don't display control characters like ^C if I input them set echo-control-characters off @@ -48,6 +55,9 @@ set show-all-if-ambiguous on # Don't re-complete already completed text in the middle of a word set skip-completed-text on +# Append characters to indicate completion filetype +set visible-stats on + # Bash macros $if Bash -- cgit v1.2.3