diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-06-06 12:03:48 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-06-06 12:03:48 +1200 |
commit | 51aeb6caaecbbdefc9995e8abafe763c75004516 (patch) | |
tree | 253d95bef9e35326fe9e1ef7d106b2e837736f67 | |
parent | No repeats for N/P; more trouble than it's worth (diff) | |
download | dotfiles-51aeb6caaecbbdefc9995e8abafe763c75004516.tar.gz dotfiles-51aeb6caaecbbdefc9995e8abafe763c75004516.zip |
Use magic-space expansion for !hist
-rw-r--r-- | bash/bashrc | 2 | ||||
-rw-r--r-- | readline/inputrc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc b/bash/bashrc index 9942af24..6ae3f50d 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -54,8 +54,6 @@ shopt -s dotglob shopt -s extglob # Append rather than overwrite Bash history shopt -s histappend -# Expand history commands on a new line for confirmation -shopt -s histverify # Don't use Bash's builtin host completion shopt -u hostcomplete # Don't warn me about new mail all the time 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" |