From 24f5626ab9fc94e731a912acd193d84045220d7b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 31 Aug 2017 02:17:08 +0300 Subject: .bashrc: set +o histexpand --- %HOME%/.bashrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc index 5404fc9..942f878 100644 --- a/%HOME%/.bashrc +++ b/%HOME%/.bashrc @@ -5,7 +5,10 @@ esac export PS1="\[\e[1;32m\]\h\[\e[m\] \[\e[1;34m\]\W\[\e[m\] # \[$(tput sgr0)\]" +set +o histexpand +# `echo "!)"` doesn't work otherwise (inc. third-party scripts). #set -o nounset +# Too many scripts stop working w/ nounset enabled :-( set -o pipefail shopt -s checkwinsize @@ -30,7 +33,7 @@ alias dir='ls --format=vertical' alias less='less --ignore-case --RAW-CONTROL-CHARS' alias tree='tree -a' -# alias sed='sed --follow-symlinks' +#alias sed='sed --follow-symlinks' # The alias above doesn't actually work with stdin in sed 4.2.2, it's a bug # fixed in sed 4.3. # Don't forget to uncomment once sed 4.3 becomes common. -- cgit v1.2.3