aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-09-09 00:38:48 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-09-09 00:38:48 +1200
commitc90124cd36d5d223d31fe49fde7e9afea7c419c1 (patch)
tree22865ede8f8cc02a794f4e713618a9584692d6bc
parentb7916dd271192464ebb101685917ec4139b78857 (diff)
downloaddotfiles-c90124cd36d5d223d31fe49fde7e9afea7c419c1.tar.gz
Bind Alt+A for cycle completion in Bash
Also make Tab explicit for classic completion, which I still prefer (at least for now)
-rw-r--r--readline/inputrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/readline/inputrc b/readline/inputrc
index 3f98c08d..6cfc4136 100644
--- a/readline/inputrc
+++ b/readline/inputrc
@@ -55,6 +55,11 @@ $if Bash
# Expand ! history with a spacebar press
Space: magic-space
+ # Tab does traditional blocking completion
+ Tab: complete
+ # Alt+A cycles through completion options
+ "\ea": menu-complete
+
# Alt-E (for exec) to prepend "exec " to a command and return to the end of
# the line
"\ee": "\C-aexec \C-e"