1
0
Fork 0

disable plugins on testing with older versions

This commit is contained in:
Von Random 2017-03-01 23:02:45 +03:00
parent 1a4ea1bd0f
commit 61f121cb7d

2
bashrc
View file

@ -150,7 +150,7 @@ alias scr='command screen sudo -Es'
# }}}
# {{{ plugins and traps
plugins="${HOME}/.bashplugins"
[[ -r "${plugins}" ]] && . "${plugins}"
[[ -r "${plugins}" && "$BASH_VERSINFO" -ge 4 ]] && . "${plugins}"
# we want to see exit code on error (it also has to be the last entry here)
trap 'printf "${red}>>${reset} ${bold}exit${reset} ${red}%s${reset}\n" "$?" >&2' ERR