This commit is contained in:
Piotr Rogoża
2018-04-25 19:53:06 +02:00
parent 48e6888a38
commit b288ecbd27
2 changed files with 15 additions and 0 deletions

View File

@@ -102,5 +102,17 @@ then
. "$HOME/.jekyllconfig"
fi
# BASH_IT_RELOAD_LEGACY is set.
if ! command -v reload &>/dev/null && [ -n "$BASH_IT_RELOAD_LEGACY" ]; then
case $OSTYPE in
darwin*)
alias reload='source ~/.bash_profile'
;;
*)
alias reload='source ~/.bashrc'
;;
esac
fi
# Disable trap DEBUG on subshells - https://github.com/Bash-it/bash-it/pull/1040
set +T