aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-06-21 13:41:39 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-06-21 13:41:39 +1200
commitca9c7949f153be6ff3c3eef2fc2669688870010e (patch)
treee7e872bdcc6cbca9f8247553f65057183dbd69f3
parentConvert some spaces to tabs (diff)
downloaddotfiles-ca9c7949f153be6ff3c3eef2fc2669688870010e.tar.gz
dotfiles-ca9c7949f153be6ff3c3eef2fc2669688870010e.zip
Add a few completion color settings
-rw-r--r--readline/inputrc10
1 files changed, 10 insertions, 0 deletions
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