aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-06-08 18:00:16 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-06-08 18:00:16 +1200
commit13a839174ebb2bf7470bec55ecd01067534e5703 (patch)
treed53e4834dc0a9f4b4109e8d2c4199511cad5231e /bash/bashrc
parentDisable aliases (diff)
downloaddotfiles-13a839174ebb2bf7470bec55ecd01067534e5703.tar.gz
dotfiles-13a839174ebb2bf7470bec55ecd01067534e5703.zip
Use two more history options
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc4
1 files changed, 4 insertions, 0 deletions
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