aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-25 13:18:12 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-25 13:18:12 +1200
commit5c285e1ff3b46f23fc81efac2bc682b1f9bbb17d (patch)
tree1f3a46c06e9a5394455f7fe40355aaac4e1f07fb
parentFix up Bash/readline word-killing behaviour (diff)
downloaddotfiles-5c285e1ff3b46f23fc81efac2bc682b1f9bbb17d.tar.gz
dotfiles-5c285e1ff3b46f23fc81efac2bc682b1f9bbb17d.zip
Prevent readline completing dotfiles without a dot
<https://github.com/izabera/libash/blob/9e709a56a148b4311792cc66cd21b61a73434573/extras/sample_inputrc#L4>
-rw-r--r--readline/inputrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/readline/inputrc b/readline/inputrc
index f8b4da42..84d35a43 100644
--- a/readline/inputrc
+++ b/readline/inputrc
@@ -22,6 +22,9 @@ set expand-tilde On
# Add a trailing slash for completed symlink directories
set mark-symlinked-directories On
+# Don't match dotfiles unless there's a dot
+set match-hidden-files Off
+
# Don't paginate possible completions
set page-completions Off