From 04f9a7952be18c69d056c034de639a3e297b7001 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Thu, 4 Feb 2016 15:37:21 -0800 Subject: [PATCH] Move /etc/bashrc include to be more friendly for OS X --- bashrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bashrc b/bashrc index 1694985..020d66f 100644 --- a/bashrc +++ b/bashrc @@ -1,6 +1,10 @@ # If not running interactively, don't do anything [ -z "$PS1" ] && return +if [ -f /etc/bashrc ]; then + source /etc/bashrc +fi + if [ -f ~/.bash/environment ]; then source ~/.bash/environment fi @@ -39,7 +43,3 @@ fi if [ -f /opt/local/etc/profile.d/bash_completion.sh ]; then source /opt/local/etc/profile.d/bash_completion.sh fi - -if [ -f /etc/bashrc ]; then - source /etc/bashrc -fi