Fixed reload alias.

Using the same logic as in the install script.
pull/419/head
Nils Winkler 2015-03-10 07:06:37 +00:00
parent 87ba4761b5
commit 27ec876a10
1 changed files with 8 additions and 1 deletions

View File

@ -2,7 +2,14 @@
# Initialize Bash It # Initialize Bash It
# Reload Library # Reload Library
case $OSTYPE in
darwin*)
alias reload='source ~/.bash_profile' alias reload='source ~/.bash_profile'
;;
*)
alias reload='source ~/.bashrc'
;;
esac
# Only set $BASH_IT if it's not already set # Only set $BASH_IT if it's not already set
if [ -z "$BASH_IT" ]; if [ -z "$BASH_IT" ];