summaryrefslogtreecommitdiffstats
path: root/.inputrc
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2021-03-27 14:25:57 +0100
committerAhmed Abdelhalim <[email protected]>2021-03-27 14:25:57 +0100
commit6bd4cd6a197f64c803a4466e2c11dae562f96465 (patch)
tree639d4da73dee00323de02df70bd6086343aceeca /.inputrc
parent2d95a4b0b76e062b01a94dcc3a8db685d5483114 (diff)
Add inputrc configs
Diffstat (limited to '.inputrc')
-rw-r--r--.inputrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.inputrc b/.inputrc
new file mode 100644
index 0000000..bf16a0c
--- /dev/null
+++ b/.inputrc
@@ -0,0 +1,7 @@
+set completion-ignore-case on
+set show-all-if-ambiguous on
+
+# Use the text that has already been typed as the prefix for searching through
+# commands (i.e. more intelligent Up/Down behavior)
+"\e[B": history-search-forward
+"\e[A": history-search-backward