aboutsummaryrefslogtreecommitdiff
path: root/stow/rcs/dot-inputrc
diff options
context:
space:
mode:
Diffstat (limited to 'stow/rcs/dot-inputrc')
-rw-r--r--stow/rcs/dot-inputrc16
1 files changed, 16 insertions, 0 deletions
diff --git a/stow/rcs/dot-inputrc b/stow/rcs/dot-inputrc
new file mode 100644
index 0000000..202ca16
--- /dev/null
+++ b/stow/rcs/dot-inputrc
@@ -0,0 +1,16 @@
+# Read by readline (the program bash and probably other shells use for reading input).
+
+# Disable bell
+set bell-style none
+
+# Set vi editing mode
+set editing-mode vi
+set show-mode-in-prompt on
+set vi-ins-mode-string \1\e[6 q\2
+set vi-cmd-mode-string \1\e[2 q\2
+
+# Shows all possible matches the first time TAB is pressed instead of beeping.
+set show-all-if-ambiguous on
+
+# Shows file type (directory or executable) as a character when showing autocomplete targets.
+set visible-stats on