aboutsummaryrefslogtreecommitdiffstats
path: root/.inputrc
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-03-02 10:02:54 +0100
committerMathias Bynens <mathias@qiwi.be>2012-03-02 10:02:54 +0100
commitfc1f806b9d044392c9d725c6d0363ba23efc6524 (patch)
treeed8beecfa622206f624fbc55de36d34ab73c9a08 /.inputrc
parent9910901fbb7e4662017975087cc092ad5f8ba366 (diff)
downloaddotfiles-fc1f806b9d044392c9d725c6d0363ba23efc6524.tar.gz
dotfiles-fc1f806b9d044392c9d725c6d0363ba23efc6524.tar.bz2
dotfiles-fc1f806b9d044392c9d725c6d0363ba23efc6524.zip
.inputrc: Don’t prompt when autocompleting unless there are over 500 possible completions
See http://blog.sanctum.geek.nz/lazier-tab-completion/.
Diffstat (limited to '.inputrc')
-rw-r--r--.inputrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.inputrc b/.inputrc
index 7ca82b8..7019070 100644
--- a/.inputrc
+++ b/.inputrc
@@ -1,6 +1,9 @@
# Make Tab autocomplete regardless of filename case
set completion-ignore-case on
+# Don’t prompt unless there are over 500 possible completions
+set completion-query-items 500
+
# List all matches in case multiple possible completions are possible
set show-all-if-ambiguous on