diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-08-31 02:17:08 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-08-31 02:17:08 +0300 |
commit | 24f5626ab9fc94e731a912acd193d84045220d7b (patch) | |
tree | 2b709dcd2f7490dc97c663d005077d635c31a8c0 /%HOME% | |
parent | .bashrc: add stty hack (diff) | |
download | linux-home-24f5626ab9fc94e731a912acd193d84045220d7b.tar.gz linux-home-24f5626ab9fc94e731a912acd193d84045220d7b.zip |
.bashrc: set +o histexpand
Diffstat (limited to '%HOME%')
-rw-r--r-- | %HOME%/.bashrc | 5 |
1 files changed, 4 insertions, 1 deletions
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. |