From 27ec876a10d0600a4b3a38a63a026881c8144a51 Mon Sep 17 00:00:00 2001 From: Nils Winkler Date: Tue, 10 Mar 2015 07:06:37 +0000 Subject: [PATCH] Fixed reload alias. Using the same logic as in the install script. --- bash_it.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bash_it.sh b/bash_it.sh index e225fd7c..94fbf72a 100755 --- a/bash_it.sh +++ b/bash_it.sh @@ -2,7 +2,14 @@ # Initialize Bash It # 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 if [ -z "$BASH_IT" ];