aboutsummaryrefslogtreecommitdiff
path: root/readline/inputrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-06-06 12:03:48 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-06-06 12:03:48 +1200
commit51aeb6caaecbbdefc9995e8abafe763c75004516 (patch)
tree253d95bef9e35326fe9e1ef7d106b2e837736f67 /readline/inputrc
parentNo repeats for N/P; more trouble than it's worth (diff)
downloaddotfiles-51aeb6caaecbbdefc9995e8abafe763c75004516.tar.gz
dotfiles-51aeb6caaecbbdefc9995e8abafe763c75004516.zip
Use magic-space expansion for !hist
Diffstat (limited to 'readline/inputrc')
-rw-r--r--readline/inputrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/readline/inputrc b/readline/inputrc
index 7bbb22c0..13cd6487 100644
--- a/readline/inputrc
+++ b/readline/inputrc
@@ -30,6 +30,8 @@ set skip-completed-text On
# Bash macros
$if Bash
+ # Expand ! history with a spacebar press
+ Space: magic-space
# Alt-E (for exec) to prepend "exec " to a command and return to the end of
# the line
"\ee": "\C-aexec \C-e"