Move /etc/bashrc include to be more friendly for OS X
This commit is contained in:
parent
7822ffe5c8
commit
04f9a7952b
8
bashrc
8
bashrc
@ -1,6 +1,10 @@
|
|||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
[ -z "$PS1" ] && return
|
[ -z "$PS1" ] && return
|
||||||
|
|
||||||
|
if [ -f /etc/bashrc ]; then
|
||||||
|
source /etc/bashrc
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f ~/.bash/environment ]; then
|
if [ -f ~/.bash/environment ]; then
|
||||||
source ~/.bash/environment
|
source ~/.bash/environment
|
||||||
fi
|
fi
|
||||||
@ -39,7 +43,3 @@ fi
|
|||||||
if [ -f /opt/local/etc/profile.d/bash_completion.sh ]; then
|
if [ -f /opt/local/etc/profile.d/bash_completion.sh ]; then
|
||||||
source /opt/local/etc/profile.d/bash_completion.sh
|
source /opt/local/etc/profile.d/bash_completion.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f /etc/bashrc ]; then
|
|
||||||
source /etc/bashrc
|
|
||||||
fi
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user