Merge pull request #419 from nwinkler/reload-alias

Fixed reload alias.
pull/424/head
Nils Winkler 2015-03-11 13:34:14 +01:00
commit 01f0e3798c
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
alias reload='source ~/.bash_profile' case $OSTYPE in
darwin*)
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" ];