]> git.phdru.name Git - dotfiles.git/commitdiff
.inputrc: set skip-completed-text and visible-stats
authorOleg Broytman <phd@phdru.name>
Thu, 10 Dec 2015 17:33:59 +0000 (20:33 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 10 Dec 2015 17:33:59 +0000 (20:33 +0300)
.inputrc

index efb3044344699763801ffb7559754a35aaba0ea6..ee986ae4792a4a1b3032fade861e25581b20530c 100644 (file)
--- a/.inputrc
+++ b/.inputrc
@@ -10,6 +10,16 @@ set convert-meta off
 set input-meta on
 set output-meta on
 
+# Be more intelligent when autocompleting by also looking at the text after
+# the cursor. For example, when the current line is "cd ~/src/mozil", and
+# the cursor is on the "z", pressing Tab will not autocomplete it to "cd
+# ~/src/mozillail", but to "cd ~/src/mozilla". (This is supported by the
+# Readline used by Bash 4.)
+set skip-completed-text on
+
+# Show extra file information when completing, like `ls -F` does
+set visible-stats on
+
 # In all programs, all terminals, make sure this is bound.
 "\C-x\C-r": re-read-init-file