From 51aeb6caaecbbdefc9995e8abafe763c75004516 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 6 Jun 2015 12:03:48 +1200 Subject: Use magic-space expansion for !hist --- bash/bashrc | 2 -- 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" -- cgit v1.2.3