From 13a839174ebb2bf7470bec55ecd01067534e5703 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 8 Jun 2015 18:00:16 +1200 Subject: Use two more history options --- bash/bashrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bash') diff --git a/bash/bashrc b/bash/bashrc index 27810022..c7a5d730 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -56,6 +56,10 @@ shopt -u expand_aliases shopt -s extglob # Append rather than overwrite Bash history shopt -s histappend +# Repeat the line on failed history expansion +shopt -s histreedit +# Repeat the expanded line on successful history expansion +shopt -s histverify # Don't use Bash's builtin host completion shopt -u hostcomplete # Don't warn me about new mail all the time -- cgit v1.2.3